Hi
I deployed checkstyle plugin for Eclipse in my company and if users understand benefits of a such tools, they do not active the plugin all the day of work.
The reason is a big problem of ergonomy due to the use of same icon for showing Checkstyle error/waring and java error/warning.
Users when checkstyle is enabled do not make the difference between a compilation problem and a checkstyle problem in the package explorator for example.
Is a way of changing it ??? It could be a nice improvement of the tool and a big improvement for developpment productivity
Sadly this is impossible, since the eclipse-cs plugin does not add anything to the package explorer symbol. Eclipse displays the warning annotation for elements having any warning, wheter it be a Java compiler warning, a Checkstyle message or any other warning. This is Eclipse standard behaviour and cannot be changed by the eclipse-cs plugin.
To differentiate between compiler and Checkstyle warnings usually the Eclipse problems view is the one-stop-shop to use. Given its vast filtering and grouping capabilities the different warning types can be easily separated/suppressed there.
In addition to that the eclipse-cs plugin provides another, different view on Checkstyle messages, see Window->Show View->Checkstyle->Checkstyle violations.
This view groups Checkstyle warnings per message category and provides drill-down to the specific warning occurrences.
False, As findBug you can desactivate error icon association in the package explorer. With finbug I use the bug Explorer View and in class editor window, findbug errors icons are customized.
You can check the screenshot below :
http://img64.imageshack.us/img64/7453/findbugicons.png
Fabrice
Sure in the Findbugs specific bug explorer custom icons are shown. Great.
Nevertheless each file having a Findbugs warning is shown in the Package Explorer (!) with the standard Eclipse warning symbol - exactly the same behaviour as with the eclipse-cs plugin.
I suggest you provide a patch implementing your desired behaviour.
One the other side I am sure a thousand people would cry murder if the eclipse-cs plugin would start tinkering with package exlorer icons (as overladded as they are even now).