Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to list NetBeans editor hints?

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.

like image 789
Matthew Crumley Avatar asked Feb 19 '10 00:02

Matthew Crumley


People also ask

How do I show hints in NetBeans?

It is easy to enable Java hints in NetBeans. Select "Tools" from the title bar, then select "Options" from the drop-down menu. Choose the "Editor" option and then select the "Hints" tab.

How many code templates does NetBeans provide?

You now have two code templates.


2 Answers

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.

like image 82
Matthew Crumley Avatar answered Oct 19 '22 07:10

Matthew Crumley


Window --> Action Items will show you errors, warnings, and user-generated todo items.

like image 38
Jim Fell Avatar answered Oct 19 '22 07:10

Jim Fell