sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
20060706 Thursday July 06, 2006

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 Comments [2]










« July 2006 »
SunMonTueWedThuFriSat
      
2
4
5
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
     
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 355


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog