visual-studiospell-checking

Change color of spelling mistake squiggles in Visual Studio?


As the title says.

The longer version: In my solution I have an .editorconfig file which configures spell-checking and I have enabled the spell checker. Spelling mistakes are underlined with blue squiggles. Suppose that I want them to be underlined with yellow squiggles. How do I do that? I went through the entire unstructured, unsearchable, insultingly long list of colors in the settings of visual studio ("Tools" -> "Options" -> "Environment" -> "Fonts and Colors") and I did not find anything related to "spell" or "typo".

How do I change the color of the squiggles for spelling mistakes?


Solution

  • The spelling errors are in the same category as general info messages, unfortunately. To change the color of the spelling errors, you need to change the color of all messages in Tools > Options > Environment > Fonts and Colors for Information:

    enter image description here

    This will do what you need. But as a side effect, all VS info messages will be displayed in yellow in the scroll bar:

    enter image description here

    If not unselected in the options:

    enter image description here

    The Information category contains all the messages that are displayed in the Error List under the "Messages" selection:

    enter image description here