2

How to disable error checking in NetBeans 6.9.1? It is very annoying to have red line in the source code.

This is similar to NetBeans - Turn off - wavy red underlines - How?, but I want to disable underlines at all, not only when typing.

(It incorrectly parses PHP sources and omits syntax errors.)

Community
  • 1
  • 1
sergtk
  • 10,714
  • 15
  • 75
  • 130

3 Answers3

4

Netbeans has a vast array of settings but this might do it. Try changing the drop down labelled "Wave Underlined" to "None":

alt text

Update:

Since I don't do PHP development I wasn't originally aware of the PHP plugin for Netbeans. You can find it listed in the plugins (Tools > Plugins) for Netbeans and should provide a much better environment for PHP work, with, I'm assuming, better PHP parsing and syntax highligting.

Arnold Spence
  • 21,942
  • 7
  • 74
  • 67
2

I would just click on the hint on the left side by the line numbers, it should create a pop-up, while that's still up click on the hint again. Now another pop-up will be there asking if you want to turn off the error check for either that single file, or for all files. Choose for that file, b/c it should be off by default.

sergtk
  • 10,714
  • 15
  • 75
  • 130
Zack
  • 21
  • 2
1

I have no 6.9 at hands, but in 7.x (and believe so, for some time) go to Options->Editor->Hints-> and uncheck

[ ] CSS (all those rules together)
[ ] HTML Validator (ditto)

Did the trick for me, when working with proprietary template files, 'coincidentally' named .html ...

Frank N
  • 9,625
  • 4
  • 80
  • 110