How to turn off red underlines in comments in Netbeans?

Frank picture Frank · Aug 12, 2011 · Viewed 9.9k times · Source

There is a similar question : "Netbeans - Turn off - wavy red underlines - How?" But It's for earlier version, doesn't apply any more.

I still want error to be underlined, just not in the comments, it's now underlined something like : "buffersize"

Answer

Sk8erPeter picture Sk8erPeter · Dec 25, 2013

In NetBeans IDE 7.4 RC1 (Build 201309162201), you can disable spellchecking under
Tools → Options → Editor → Spellchecker tab

The settings refer to:

  • C/C++/Fortran Comments
  • GSP
  • HTML
  • JSP
  • Javadoc comments
  • PHP
  • Piain text
  • Properties
  • Script and Make Comments
  • XHTML
  • XML

Screenshot:

NetBeans: Disable/Enable spellchecker


Here is an example BEFORE and AFTER disabling HTML spellchecking.

before:

NetBeans: BEFORE disabling HTML spellchecking

after:

NetBeans: AFTER disabling HTML spellchecking