How do I turn off the red and green lines that appear under the grammer and spelling errors??
Asked
Active
Viewed 602 times
2 Answers
6
Define a new style for code - set an appropriate font and line spacing etc and turn off spell checking for the style. Apply this style to all your code examples.

Paul R
- 208,748
- 37
- 389
- 560
-
1+1. This is a good answer, especially if you do documentation for a living. – Todd Main May 14 '10 at 21:37
-
1Yup, this is what I do. I usually define two styles: "Inline Code" would be formatted as Courier New 9pt (or your preference) and spell checking disabled, and then a "Block Code" that adds indentation useful for code snippets. – Daniel Pryden May 14 '10 at 21:39
0
The quickest way is to just right-click on the word and choose Ignore (Once or All). You can also go into Options under spell check and turn this off

Todd Main
- 28,951
- 11
- 82
- 146
-
-
@mdma: That's a pretty dumb remark. If you're doing this once or twice only, it's wasteful to set up a new style. If you're doing this as a living, add a new style. Even better, create a custom dictionary. – Todd Main May 14 '10 at 21:47