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

Steffen picture Steffen · Nov 27, 2013 · Viewed 17.6k times · Source

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?

Answer

Deve picture Deve · Feb 17, 2014

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.