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.
Summary: | Frustrating highlighting of missing semi-colons | ||
---|---|---|---|
Product: | editor | Reporter: | aybiss |
Component: | Hints & Annotations | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | dstrupl, mmetelka |
Priority: | P3 | Keywords: | API, UI |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
aybiss
2011-02-21 11:57:29 UTC
I agree that the missing semicolon error underline should ideally be only at the very end of the line. The trouble is that this is not reasonably doable using current NB internal APIs. Note that there is a Ctrl-; action, that adds the semicolon at the end of the current line. moved to 7.0, since i now run that and it is still an issue there. This is an enhancement request as the current behaviour is intended (for marking this error). I have done a research what the other IDEs do: 1. IDEA: underline the first (non-existent) character at the end of the line 2. Eclipse: underline the last character on the line 3. NetBeans (as mentioned here) underlines the whole line I think that the IDEA way looks the best (for this type of error). But as I mentioned this is not a bug per se. I have added Mila on Cc: to consider the required API change. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |