19

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"

Joshua
  • 40,822
  • 8
  • 72
  • 132
Frank
  • 30,590
  • 58
  • 161
  • 244

3 Answers3

27

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

Sk8erPeter
  • 6,899
  • 9
  • 48
  • 67
3

This is explained and illustrated in How to disable red-underline spellchecker in Netbeans 7:

To remove it simply choose Tools → Options → Miscellanous, then in Spellchecker tab uncheck the C/C++/Fortran Comments and press OK. [...]

NetBeans - disable spellchecker: Tools -> Options -> Miscellanous -> Spellchecker tab

The specific result of disabling the spellchecker depends on the target language/syntax of course, but likely this should yield the desired effect.

Sk8erPeter
  • 6,899
  • 9
  • 48
  • 67
Steffen Opel
  • 63,899
  • 11
  • 192
  • 211
2

In Netbeans 12.0 this option can be found under the Editor tab. Not in the Miscellaneous tab.

Goto

Options -> Tools -> Editor -> SpellChecker Tab

Rest is the same as the first answer.

Buddhika Chathuranga
  • 1,334
  • 2
  • 13
  • 22