This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168343

Summary: Please don't highlight errors until I save
Product: java Reporter: karmaflute <karmaflute>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description karmaflute 2009-07-09 15:04:24 UTC
It's very annoying to get the red underlines reporting a error every time I pause while typing. I don't want to know if
there is an error in my code until after I've "finished my thought". I stare at more errors which aren't errors more
often than not.

Or at least offer this as an option in the editor. I don't mind if NetBeans compiles automatically for me but I don't
need to know about errors in my code every two seconds.
Comment 1 chris4beta 2009-12-28 11:48:49 UTC
I'm using Netbeans 6.8 for PHP, and I wish I could vote for this more than once. The built-in error reporting is very helpful at times, but more often than not I am extremely annoyed as the line I am on goes back and forth between normal and red underline as I type... how distracting!

I tried going into Options > Fonts & Colors > Syntax and changed 'Error' to no effects or coloring, but that red underline still haunts me. Why isn't there an option to turn off auto error reporting? Please add some flexibility to this area,  perhaps only check for errors upon saving like karmaflute suggests, or maybe wait until I move away from the current line to underline it... anything besides interrupting me mid-thought with red lines.

Ideally in the options you should be able to turn error reporting on or off, and if you choose on - be able to toggle between "as you type", "after line completion", and "on save" as the notification triggers. I think that would be a good solution for the error reporting to be only as invasive as the user wants.

I enjoy using Netbeans, thanks for a great product. Once this and word-wrap are taken care of, I'll be in heaven. Happy New Year!