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.

Comments:

Hi Geertjan. Where are the sources of your plugin? Best regards

Posted by markiewb on July 22, 2013 at 11:40 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
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
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today