Sunday Jul 07, 2013

Key Binding & Code Template Viewer

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:

http://plugins.netbeans.org/plugin/49660/?show=true

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.

About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« July 2013 »
SunMonTueWedThuFriSat
 
5
10
14
21
27
28
29
30
31
   
       
Today