Search

Dark theme | Light theme

August 14, 2008

Task List window in NetBeans to show errors

I use NetBeans 6.1 now for a couple of weeks and still I find little gems, which makes live so much easier. When we edit a Java source file we can make a mistake. For example we can forget the semi-colon (;) at the end of the line. Okay, just for this example, because normally we wouldn't forget this obvious character (unless we have done some Groovy programming on the side). The following screenshot shows the error in the NetBeans Java editor:

We notice the exclamation mark icon in the left gutter on the line with the error. Very useful, but there is more. NetBeans has the Task List, which is very useful to get an overview of all errors in a file, project or projects. We select Window | Task List to open the Task List window. In Windows we can also use the shortcut Ctrl+6. Now we see the same error for our Java file, but in the table view of the Task List: