SECTION 3 Navigation

Tip 16: Navigate to Compile Errors

Sometimes you just want to see the big picture: Will this class compile or not? If not where does the bug start? Did I place the debugger breakpoint before or after that spot?

You can gather this type of information with one glance from the error stripe—even before you have actually compiled the class. The error stripe is the area on the right side of the editor. It represents the whole file and also marks the current caret position ( image). Additional marks represent lines with warnings (orange), errors (red), debugger breakpoints (pink), editor bookmarks (gray), and highlighted occurrences ...

Get 100 NetBeans™ IDE Tips & Tricks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.