UPDATED: Code Template Tools Module - added the Surround With menu
I have updated the Code Template Tools Module on my NetBeans 5.0 update center described
(here).
What is new?
Added the
Edit:Surround With menu which makes it easy to insert templates that use
${selection...} template parameter. For example, you can define a code template named
sw_invokelater with text:
SwingUtilities.invokeLater(new Runnable() {
public void run() {
${selection editable=false}
}
});
This template will appear as a submenu of
Edit:Surround With menu. Now, select some statements in Java editor and select
Edit:Surround With:sw_invokelater. That will wrap the selected statements in
invokeLater().
DISCLAIMER: This module is experimental. So no guarantees. Use the module at your own risk.
Posted by sandipchitale
( Jul 06 2006, 01:30:19 PM PDT ) Permalink
Trackback URL: http://blogs.sun.com/scblog/entry/updated_code_template_tools_module1
Posted by asaad on July 24, 2006 at 05:33 AM PDT #
Posted by asaad on July 24, 2006 at 05:33 AM PDT #