ImprovedEclipseKeyBindings

One nice thing about NetBeans 6 is that it includes Eclipse key bindings by default. This makes the transition from Eclipse a lot easier.

Unfortunately not all keyboard shortcuts are mapped properly, at first I thought the unmapped Eclipse shortcuts didn't have equivalents in NetBeans, but as I have been getting more familiar with NetBeans, I have found equivalent for most missing keyboard shortcuts.

In order to add the missing keyboard shortcuts, go to Tools-> Options, then click on "Keymap", then select "Eclipse" from the "Profile" drop down.

Without further ado, here are the missing keyboard shortcuts from the Eclipse Profile in NetBeans:

The attached zip file can be extracted to the .netbeans/6.0/config directory to add these shortcuts to NetBeans 6, there will be a new Keymap labeled "Eclipse_Improved". Selecting this keymap will add the above shortcuts to NetBeans.

The .netbeans directory should be right under your home directory (assuming a username of foo, the home directory typically is /home/foo on Unix and Unix-like systems and c:\Documents And Settings\foo on Windows systems).

#1 In order for this to work, the existing Ctrl+1 shortcut needs to be explicitly removed. It can be found under Project->Projects