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.
If there are errors in the source, catched by the background parser and annotated in the gutter and I compile the text, the annotations double: obviously the compiler will report at the same lines as the parser did. I think that - in this case - the compiler's annotation could just override the parser's one.
Set target milestone to TBD
*** Issue 51199 has been marked as a duplicate of this issue. ***
May require coordination with the ant module.
Can be fixed in the Ant module alone, as it turns out.
Suppressing Ant's error annotation in case the line in question already has an annotation, which will in most cases be an error annotation from the background parser. The IDE's parser annotations for compiler errors are generally preferable: they may have multiline tooltips, they disappear reliably when the source is fixed, etc. Checking in Hyperlink.java; /shared/data/ccvs/repository/ant/src/org/apache/tools/ant/module/run/Hyperlink.java,v <-- Hyperlink.java new revision: 1.11; previous revision: 1.10 done
jlahoda warns that this technique will not work if anyone begins calling NbDocument.addAnnotation directly, rather than going through DocumentLine.
Branch was created retroactively.