Share via


How to: Change Text Case in the Editor

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

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.

Procedure

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.

    Tip

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

See Also

Customizing the Editor Text Editor Options Dialog Box Writing Code