How to: Change Text Case in the Editor

 

You can use menu commands or keyboard shortcuts to convert the case of selected text to all upper case or to all lower case.

System_CAPS_ICON_note.jpg Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Customizing Development Settings in Visual Studio.

To switch text to upper case

  1. Select the text you want to convert.

  2. On the Edit menu, select Advanced.

  3. To convert text to all upper case, choose Make Uppercase, or press CTRL+SHIFT+U.

    — or —

    To convert text to all lower case, choose Make Lowercase, or press CTRL+U.

    System_CAPS_ICON_tip.jpg Tip

    To revert to the previous case formatting before this change, select Undo from the Edit menu.

Customizing the Editor
Text Editor Options Dialog Box
Writing Code

Show: