Closed tango4567 closed 1 year ago
Step 1: File-> Preferences -> Keyboard Shortcuts
Step 2: Search for editor.action.transformToUppercase"
Step 3: Click the + icon.
Step 4: In the popup, press the desired key combination and hit enter:
Shift + Alt + U
Reference for keybindings.json
[
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus"
}
]
👇 Solution Source: 👇 Note: Both solution are linked with updated solution Stackoverflow Updated Solution Stackoverflow Old Solution
I need to convert some text from lower to upper case and upper to lower case using keyboard shortcut.