How can I disable spelling check in Visual Studio 2010? By spelling check I mean in comments, string etc, not in actual code
问题:
回答1:
Cory - This will disable syntax highlighting.
This is probably an extension you have installed. You needs to disable it in the extensions manager or configure it not to check spelling.
http://blogs.msdn.com/b/yardman/archive/2011/02/01/visual-studio-2010-spell-checker.aspx
For example in my install spell checking is provided by Visual Assist. If I disable this extension then the squigglies in comments go away.
回答2:
In the Visual Assist X Options dialog on the Underlines
page, uncheck the "Underline spelling errors in comments and strings" option.
回答3:
I'm fairly certain VS2010 doesn't have a built in spell-checker, however, the C/C++ options contain IntelliSense which can cause "red squiggles." Here's how to disable those:
Tools -> Options -> Text Editor -> C/C++ -> Advanced
Under "IntelliSense" will be an option called "Disable Squiggles." Set it to true.
回答4:
in javascript I solved this by going to Tools > Options > TextEditor > Javascript > advanced > Uncheck Show Syntax Errors.