Share via


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.

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 Visual Studio Settings.

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

Concepts

Customizing the Editor

Other Resources

Setting Editor Options

Writing Code in the Code and Text Editor