- Instant help with your Developer coding problems

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

  1. Select the text you want to convert. If you want to convert one word only then click on that word.
  2. Press F1 and type 'tup' into the search field.
  3. 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. 

  1. Open the keyboard shortcut editor with CTRL + K CTRL + S or from menu File -> Preferences -> Keyboard Shortcuts

  2. Select a keyboard shortcut you want



  3. From now you can convert selected text to uppercase with CTRL + T CTRL + U

 

 

Share "How to make text uppercase in VS Code?"