By Geertjan on Jul 07, 2013
Did you know that Ctrl-Shift-C (as well as Ctrl-/) toggles comments in a Java file, i.e., adds/removes two forward slashes? I didn't know that until browsing through my new Key Bindings viewer:
To see the viewer above in the context of the whole IDE, click the image above.
Want to try it too? Together with the Code Templates viewer shown in this blog yesterday, you can try out the above by installing the plugin here, which you can install into NetBeans IDE 7.3.1:
You'll see that I tried to convert the strange notations, e.g, "DS-A" to their human readable equivalents, e.g., "Ctrl-Shift-A", though haven't completed that yet. Also, the viewers are not updated when you change the code templates and keybindings in the Options window. That's a feature for the next version of the plugin, shouldn't be hard via a FileChangeListener.