How to: Modify fonts and colors for the editor in Visual Studio

You can change the default font face, adjust the font size, and change the foreground and background colors for various text Brandish items in the code editor. When you lot change font settings, continue the following data in heed:

  • The settings for Font and Size are global for all text elements in all Visual Studio editors.

  • The names of fixed width fonts are listed in assuming.

  • Item foreground, Detail background, and Bold options tin exist set for each blazon of text element. For example, if you modify colors and select Bold for Comment and Bookmarks, other types of text elements will be unaffected.

Modify the default font face, size, and colors

  1. Select Options from the Tools carte du jour. Under Surround, select Fonts and Colors.

  2. In Evidence settings for, select Text Editor.

    Screenshot of the Options dialog box to change fonts and colors in the editor

  3. Modify the Font and Size options to alter the font face and size for all text elements in all editors.

  4. Select the appropriate particular in Display items, and and then modify the Particular foreground and Particular background options.

    Tip

    Click Employ Defaults to reset to the default settings.

  5. Select OK.

  1. Select Options from the Tools menu. Under Environment, select Fonts and Colors.

  2. In Show settings for, select Text Editor.

    Screenshot of the Options dialog box to change fonts and colors in the editor

  3. Modify the Font and Size options to change the font face up and size for all text elements in all editors.

  4. Select the appropriate item in Brandish items, and and then change the Item foreground and Particular background options.

    Tip

    Click Use Defaults to reset to the default settings.

  5. Click OK.

Adjacent steps

To learn more about the font and color changes you can make to the IDE by using the Options dialog box, see the Fonts and Colors, Environment, Options Dialog Box page.

Encounter as well

  • Features of the code editor
  • How to: Change fonts and colors in Visual Studio