How do I turn off the red and green lines that appear under the gra开发者_如何学运维mmer and spelling errors??
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.
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
精彩评论