Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans (7.4): Is there a way to highlight TODO's?

Tags:

I have switched from Eclipse to Netbeans. Eclipse has a way too highlighting TODO's in Java comments like:

public void test(String str) {   // TODO: check if str is null!   ...   ... } 

In Eclipse I could change the editor configuration so that the TODO was printed bold or in another color. Is there a way to set that up in Netbeans?

like image 778
Steffen Avatar asked Nov 27 '13 17:11

Steffen


People also ask

How to see TODO in NetBeans?

There's a helpful Netbeans feature that has been renamed to Action items in version 7.4 and has formerly been known as Todo Tasks. To show occurences of keywords in comments like TODO or FIX in a separate list go to Window/Action Items. The listed keywords can be configured in Tools/Options/Miscellaneous/Action Items.

How do I open a Javadoc in NetBeans?

From the menu bar, select Window > IDE Tools > Javadoc Documentation to open the Javadoc window, in which the documentation is refreshed automatically for the location of your cursor.

How do I format NetBeans?

To format all the code in NetBeans, press Alt + Shift + F. If you want to indent lines, select the lines and press Alt + Shift + right arrow key, and to unindent, press Alt + Shift + left arrow key.


2 Answers

There's a helpful Netbeans feature that has been renamed to Action items in version 7.4 and has formerly been known as Todo Tasks. To show occurences of keywords in comments like TODO or FIX in a separate list go to Window/Action Items. The listed keywords can be configured in Tools/Options/Miscellaneous/Action Items.

like image 170
Deve Avatar answered Dec 11 '22 00:12

Deve


Following Deve's answer, in Netbeans 8 things changed a little bit.

In version 8, it is in Tools/Options/Team/Action Items

More info: https://www.youtube.com/watch?v=HsENrzwsiOw&hd=1

like image 24
dazito Avatar answered Dec 10 '22 22:12

dazito