How to: Change Fonts and Colors in the Editor
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
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.
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.
Select Options from the Tools menu, and in the Environment folder, select Fonts and Colors.
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.
Click Use Defaults to reset the default settings.