How to: Change Fonts and Colors in the Editor
You can change the default font face, adjust the font size, and change the foreground and background colors for various text Display items in the Code Editor. When changing font settings keep in mind the following information:
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 bold.
Item foreground, Item background, and Bold options can be set for each type of text element. For example, if you change colors and select Bold for Comment and Bookmarks, other types of text elements will be unaffected.
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 change the default font face, size, and colors
Select Options from the Tools menu, and in the Environment folder, select Fonts and Colors.
The Fonts and Colors, Environment, Options Dialog Box opens.
In Show settings for, select Text Editor.
Modify the Font and Size options to change the font face and size for all text elements in all editors.
Select the appropriate item in Display items, and then modify the Item foreground and Item background options.
Tip
Click Use Defaults to reset the default settings.
Click OK.
See Also
Tasks
How to: Change Fonts and Colors in Visual Studio