Changing Font Color, Size, and Style
Customize the way the text appears in the Code Editor as well as other places in Visual Studio.
To change font color, size, and style in the Code Editor
- Select Options from the Tools menu and in Environment folder, select Fonts and Colors.
- In Show settings for, select Text Editor.
- Change the font, size, display item, foreground and background colors.
Note Click Use Defaults to return to the default settings.
There is only one font setting for the Code Editor and it affects all editors in Visual Studio. You can change the color based on the text type (such as comments and statements). Monospace fonts appear in boldface in the Font list, and bold settings are on a per text type basis. For example, you can set Comments and Bookmarks to bold and the other text types are unaffected.
The settings for text color and font type are global for all text element types, such as comments, statements, and so forth.