Eclipse:checkstyle违规图标装饰

问题描述:

尽管我发现Eclipse的Checkstyle插件非常有用,但我发现他们突出显示违规的方式太多了。我删除了黄色背景和总览尺,但是我还没有想到以下内容:

Although I find the Checkstyle plugin for Eclipse very useful, I find the way they highlight violation too much. I stripped out the yellow background and the overview ruler, but I haven't figured out the following:

当有Checkstyle违规时,包含它们的文件会显示在项目中Explorer具有与编译器警告相同的装饰图标()。我的所有课程都出现了警告,我不知道哪些是编译器警告。我发现保持Checkstyle改变文件装饰的唯一方法是关闭我的项目,但这显然也隐藏了编辑器中的违规。

When there are Checkstyle violations, the files containing them appear in the Project Explorer with the same decoration icon as when they have compiler warnings (). All my classes appear infested with warnings, and I can't tell which of them are compiler warnings. The only way I found to keep Checkstyle from changing the file decorations is to turn it off for my projects, but that obviously also hides the violations in the editor.

是否有一个方法来告诉Checkstyle不要更改文件图标?

Is there a way to tell Checkstyle not to change the file icons?

在SourceForge论坛(这里),他们说不可能改变装修,但可以做的是改变违规的严重性。

In the SourceForge forum (here) for the project, they say that it is not possible to change the decoration, but what can be done instead is to change the severity of the violations.