One of the plugins I created with which I am most satisfied and which I consider to be most useful is... the Cheat Sheets plugin:

http://plugins.netbeans.org/plugin/49660

Rather than needing to go somewhere in the Options window to see the available code templates and key bindings, this plugin embeds two windows right next to the editor, to display all those code templates and key bindings exactly where you need them to be so that you can quickly see what's available right at the point where you're using them.

I have checked that it works in NetBeans IDE 8.1 and uploaded it to the above location, as can be seen via the link above. However, before I did that, I Mavenized it and moved it to the following GitHub repository, so anyone is welcome to fork it and extend it:

https://github.com/GeertjanWielenga/CheatSheets

When you install the plugin, you'll have two news windows available from the Window menu, named "Code Templates" and "Key Bindings". Especially the Code Templates window is interesting, showing you all the templates you can type (and then press Tab or whatever key you have defined as the expansion key in the Options window) and then the template will be expanded to a full snippet of code, as shown in the Expands To column. (The Description column can be excluded if you don't need it via the small button to the right of the Expands to column.)

For example, here's a JavaScript file with the available code templates shown in the Code Templates window:



And here's a Java file with the available code templates shown in the Code Templates window:



Take note of the "Context Sensitive" checkbox at the bottom of the window, which is checked by default, so that the Code Templates window shows the code template applicable to the file type of the currently selected file. If you uncheck the checkbox, the code templates will not change when you change context, you'll need to go to the drop-down list manually and select the code templates you want to see.

Currently, clicking an item in the window does not add anything to the editor, that's a feature that would be cool to have and that I'd like to look into sometime or someone else is welcome to do that too.



Note: I have also indicated that the plugin should be verified for inclusion in the Plugin Manager, which is a process that should be completed soon. Thanks to Benno Markiewicz for help with getting the Mavenized plugin set up for verification.

