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: | The file badges should also reflect hints results | ||
---|---|---|---|
Product: | java | Reporter: | _ gtzabari <gtzabari> |
Component: | Source | Assignee: | Rastislav Komara <moonko> |
Status: | NEW --- | ||
Severity: | blocker | CC: | archenroot, markiewb |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
_ gtzabari
2008-02-15 02:42:42 UTC
In what past releases did this work? Actually, placing a source file into a "incorrect" "package" is not an error allowed in Java (it may cause problems during build and it can also cause problems for the IDE, but it is not an error). So the build (which is done by the command line compiler, not by the IDE) does not report this as an error. In the IDE, there is a hint (which is set to behave as an error) which warns about this, but the hints are being currently run only for opened files. Issue(s) (do not have the number(s) offhand) are filled that request adding the hints into the tasklist. I guess I was confusing this error with "class Foo should be in file Foo.java" which you get if your filename is wrong. I was expecting to get a similar error: "class com.sun.swing.Foo should be in folder com/sun/swing". Thanks for the clarification. I look forward to having this show up even for unopened files as you mentioned. In truth I never use the tasklist. I would personally prefer it if the file icon reflected hints. Right now if a file contains a compilation error its icon contains a red exclamation mark. Ideally this badge should also reflect warning/error hints. Is there a RFE to this effect or should I reopen this issue as an enhancement request? Ok, I am fine with changing the scope of this issue to "The file badges should also reflect hints result" (feel free to adjust the wording so the meaning is more obvious). But please do not expect this happen anytime soon - such a change will quite difficult. Overtake. *** Bug 232497 has been marked as a duplicate of this bug. *** *** Bug 235958 has been marked as a duplicate of this bug. *** |