有没有办法列出 NetBeans 编辑器提示? [英] Is there a way to list NetBeans editor hints?

查看:35
本文介绍了有没有办法列出 NetBeans 编辑器提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 开始,有一个新的检查"窗口(转到 Source > Inspect...),它将显示项目的所有提示.您还可以安装其他检查器,例如 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆