One of my favourite features of NetBeans IDE is the ease with which you can customise the keyboard shortcuts. This feature is accessed from the NetBeans – Preferences window.
Firstly, you can choose not only the standard NetBeans shortcuts but also Eclipse, IDE and Emacs. This is very useful if you started with a different IDE and do not want to have to relearn all the settings.
The search boxes allow you to filter all the commands from a keyword or by typing in a keyboard shortcut (I want to check what is assigned to ctrl+f).
All the columns are editable so you can type in a box to remove a keyboard shortcut. Or press your selection of keys and the values will be inserted.
Once you click on apply, the changes will be saved and NetBeans will recognise your new settings. You will see the new keyboard shortcuts on any menu.
All this makes it very easy to configure and setup NetBeans exactly as you want. My keyboard combination is the IDEA IDE set (which is what I learnt) with the format shortcut redefined to Indent. What combination do you use?
This post is part of our “NetBeans article Index” series. In these articles, we aim to explore NetBeans in different ways, from useful hint and tips, to our how-to’s, experiences and usage of the NetBeans IDE.