有没有办法列出NetBeans编辑器提示? [英] Is there a way to list NetBeans editor hints?
问题描述
NetBeans是否有办法显示项目的所有编辑器提示(如缺少大括号,未使用的导入等)?理想情况下,它们会显示在任务列表中,但项目视图中的警告图标也可以。
Does NetBeans have a way to show all the editor hints (like missing braces, unused imports, etc.) for a project? Ideally, they would show up in the Task List, but the warning icons in the project view would be fine too.
现在,我能做的最好就是打开每个文件并查看滚动条旁边的颜色指示器。
Right now, the best I can do is to open each file and look at the color indicator next to the scrollbar.
推荐答案
从NetBeans 7.2开始,有一个新的Inpect窗口(转到来源>检查
...),它将显示项目的所有提示。您还可以安装其他检查器,如FindBugs,这些提示也将包含在内。
As of NetBeans 7.2, there's a new "Inpect" window (go to Source > Inspect
...) that will show all the hints for a project. You can also install additional inspectors, like FindBugs, and those hints will be included too.
这篇关于有没有办法列出NetBeans编辑器提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!