Error symbol does not appear in Navigator view

I use Eclipse to develop java:

Eclipse Java EE IDE for web developers. Version: Indigo Service Release 1 Build ID: 20110916-0149

Currently, the Navigator view does not display a small error symbol (white x on a red background) if there is a syntax error in the file.

I tested this with a small java project with one java class. A deliberately generated syntax error leads to a record in the "Problems" view, and the error symbol is displayed as a code, in the file bookmark and in the package explorer, but not in the Navigator view (neither file level nor folder level).

Build automatically activated.

Any ideas on how to display the error decorator also in the Navigator view? Maybe this is a mistake? Thanks!

+8
java eclipse
source share
3 answers

Imo, this is a mistake. It actually appeared with SR1. If you reinstall Eclipse Indigo Vanilla, a bug fix will appear. It would be great if they fixed this, as it is currently quite annoying ...

EDIT: Owoc, so this is essentially not a mistake. The intended behavior of the Navigator view is to not display markers associated with the validity of the Java code. The previous (long-term) state was an error and was corrected using this fix: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291498

Unfortunately (imo) this does not seem to change since this error report ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=364660 ) was closed using RESOLVED WONTFIX.

The official proposal is to use the Package or Project Explorer views. Of my attempts to live with Project Explorer, itโ€™s still not as convenient as Navigator, although it can be configured quite close to Navigator. I also tried to complement Eclipse 3.7.1 with the Navigator packages from the previous version 3.7.0. Although I'm not 100% sure this is a good solution, it worked for me.

+8
source share

I think this is normal behavior. I do not think that it can be changed.

0
source share

I still work with Eclipse Helios and observe the phenomenon (= no errors) in the explorer package (sic!) After deleting all the entries in the โ€œview problems and warningsโ€. After removing the tab that displays a list of errors in all sources, indicators appeared again. For me, this is clearly a mistake, although quite insignificant ...

0
source share

All Articles