UPDATED: Code Template Tools Module - Multiple selection/deletion of templates, importing templates from TextMate.

I have updated the Code Template Tools Module on my NetBeans update center described (here). This version of the module has been tested with NB5.5 and 6.0dev.

What is new?

  • I have multiple template selection and deletion functionality in Show Templates dialog.
  • A bug with Edit:Surround With menu has been fixed.
  • Tor has added the ability to import templates (for JRuby) from TextMate editor. Apparently the TextMate text editor is heavily used by Ruby community. Read all about it on Tor's blog.

Sources

DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.

Comments:

Sandip,
Thanks for this extension; what would make it really useful, in my opinion, is the ability to invoke it from the keyboard without having to go into the menu three levels deep. Is there any way to assign a shortcut so that, for example, I can invoke surround with by pressing CTRL-U, T like in IDEA?

Posted by Moshe on December 19, 2007 at 09:18 PM PST #

Moshe, try the latest version on the Code Template Tools module from the NetBeans Plugin Portal. Surround With action now shows the templates to insert in a pop up dialog.

Thanks for your suggestion.

PS: The latest version only works with NetBeans 6.0 FCS.

Posted by Sandip on December 22, 2007 at 01:03 PM PST #

Thanks Sandip, this is perfect. My only additional suggestion is to mention in the description of the Plugin that it can be invoked with Ctrl-J T. I wouldn't have known if I didn't see it in your latest blog post. Why doesn't NetBeans show the accelerator in the menu next to "Surround With..." ?

Posted by Moshe on December 22, 2007 at 05:17 PM PST #

Moshe,

I will update the description of the plugin. There is bug in NetBeans (or may be even Swing JMenuItem) where by it does not show multi keystroke key bindings :(

Posted by Sandip on December 23, 2007 at 01:53 AM PST #

Post a Comment:
Comments are closed for this entry.
About

sandipchitale

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today