Thursday, July 17, 2008

Netbeans - Shortcuts

Netbeans has a lot of neat shortcuts.

For example if you want to override a base class method, or create a getter, setter, or generate an equals or hashcode method you can do so easily by pressing alt-insert. This will bring up a dialog for you to choose what you want.

alt-shift-f will reformat your code to your liking

ctrl-click on an item will go to the definition of that item.

alt-o will bring up a dialog to search for by filename.

No comments: