Make text uppercase in VS Code
Question:
How to make text uppercase in VS Code? Answer:
F1 and type 'tup' and select 'Transform to Uppercase'
Description:
VS Code doesn't have a dedicated keyboard shortcut by default to convert text to uppercase or lowercase. But there is a built-in action to do this.
Steps to convert
- Select the text you want to convert. If you want to convert one word only then click on that word.
- Press
F1
and type 'tup' into the search field. - Select the 'Transform to Uppercase' and press
Enter
Create a keyboard shortcut
If you often use case conversion to lowercase or uppercase, it is more practical to create a dedicated keyboard shortcut.
- Open the keyboard shortcut editor with
CTRL + K
CTRL + S
or from menuFile -> Preferences -> Keyboard Shortcuts
- Select a keyboard shortcut you want
- From now you can convert selected text to uppercase with
CTRL + T
CTRL + U
Reference:
VS Code transform text commands
Share "How to make text uppercase in VS Code?"
Related snippets:
- Fix: Prettier stopped working in VS Code
- Split editor window in VS Code
- Change default terminal in VS Code
- Wrap selection with tag in VS Code
- Edit multiple lines at once in VS Code
- Make text uppercase in VS Code
- Associate file type in VS Code
- Change syntax highlighting in VS Code
- Search for file in VS Code
- Open files always in a new tab in VS Code
- Add vertical rulers in VS Code
- Change indentation in VS Code
- Collapse code blocks in VS Code
- Delete line without selection in VS Code
- Jump to closing bracket in VS Code
- Select all occurrences of selected word in VS Code
- Change font size in VS Code
- Toggle minimap in VS Code
- Change colors in VS Code integrated terminal
- Change file encoding in VS Code
- Disable tooltip in VS Code
- Move the sidebar panel to the right in VS Code
- Export VS Code extensions
- Exclude folders from search in VS Code
- Toggle word wrap in VS Code
- Get multiple cursors in VS Code
- Show hidden characters in VS Code
- Remove trailing spaces in VS Code
- Switch between terminal and editor in VS Code
- Open VS Code with the current folder from terminal
- Go back to last edited position in VS Code
- Change terminal font size in VS Code
- Navigate back to last cursor position in VS Code
- Comment out multiple lines in VSCode
- Duplicate line or selection in VS Code
- Format code in VS Code
- Compare two files in VS Code
- Go to line in VS Code
- Move line up or down in VS Code
Tags:
transform, change, convert, make, uppercase, lowercase, text, vs code, visual studio code Technical term:
Make text uppercase in VS Code