如何在 Eclipse IDE 中找到完整的警告列表
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6786660/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to find complete list of warnings in eclipse IDE
提问by Anuj Balan
I'd like to find the places in my project where 'The static method should be accessed in a static way' warning raises.
我想在我的项目中找到“应该以静态方式访问静态方法”警告的位置。
Is there any way of getting the complete list at once ? I did search for a rule set in PMD, but dint find any. So, need help !!!
有没有办法一次获得完整的列表?我确实在 PMD 中搜索了规则集,但没有找到。所以,需要帮助!!!
回答by Daniel
Click on the small triangle in the upper right corner of the problems view and select "Configure Contents". In that dialog check "Show all items" and uncheck "Use item limits" to show all warnings.
单击问题视图右上角的小三角形并选择“配置内容”。在该对话框中,选中“显示所有项目”并取消选中“使用项目限制”以显示所有警告。
回答by haggai_e
Try the Problems view. It should be at the bottom of the screen when using the Java perspective.
尝试问题视图。使用 Java 透视图时,它应该位于屏幕底部。
回答by MatrixFrog
I'm not sure if this would work, but can't you sort the warnings by their actual warning message in the Problems view, so that they'll all end up grouped together? If that doesn't work you could just (temporarily) turn off all the other warnings. Generating a report from UC Detectoris another possibility.
我不确定这是否可行,但是您不能在“问题”视图中按实际警告消息对警告进行排序,以便它们最终都组合在一起吗?如果这不起作用,您可以(暂时)关闭所有其他警告。从UC Detector生成报告是另一种可能性。
回答by Bruno L.
Select Markers view, at header of bottom panel for seeing list of warnings or errors
选择标记视图,在底部面板的标题查看警告或错误列表