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.
20060508 Monday May 08, 2006

Code Template Tools module now supports ${clipboard-content} parameter

${clipboard-content} - If the clipboard had any text, that text will be inserted at the location of ${clipboard-content} parameter. Use ${clipboard-content editable=false} to prevent editing of inserted text.

For example:

With template definition:

_hyperlink=<a href="${clipboard-content editable=false}" target="_blank">${selection editable=false}</a>
And the text:
Netbeans.org
selected in the editor and text:
http://www.netbeans.org
in the clipboard, inserting template _hyperlink results in
<a href="http://www.netbeans.org/" target="_blank">Netbeans.org</a>

Also the paste register functionality is implemented as template insertion allowing the substitution of ${...} parameters. See this entry for details.

Get it from my NetBeans 5.0 update center described (here).

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


Posted by sandipchitale ( May 08 2006, 01:31:38 PM PDT ) Permalink Comments [0]










« May 2006 »
SunMonTueWedThuFriSat
 
3
4
5
7
9
10
11
12
13
14
15
16
19
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: 210


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