You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the meantime as a workaround, this extension Find and Transform use the built-in editor.action.transformToKebabcase command (in a keybinding, not a snippet) together with any snippet variable, like ${fileBasenameNoExtension} to accomplish what you want. For example, this keybinding (in keybindings.json) would insert the kebabed-case version of ${fileBasenameNoExtension} at the cursor:
Currently we have
upcase
,downcase
,capitalize
,camelcase
,pascalcase
transforms.Example for adding
kebabcase
transform:TM_FILENAME_BASE
isUserProfileItem
Result:
Also suggesting other cases that could be useful.
camelcase
userProfileItem
pascalcase
UserProfileItem
kebabcase
user-profile-item
snakecase
user_profile_item
dotcase
user.profile.item
slashcase
user/profile/item
titlecase
User Profile Item
sentencecase
User profile item
The text was updated successfully, but these errors were encountered: