IDEA4; (NOT)Available parameters in Live Templates

Hi,

I am trying to play with the live templates in the new IDEA4 and it seems I
am missing something here.

I want my template to interpret the 'ts' abbreviation, having the effect of
inserting: $, $ and $ at the current cursor position while
I am editing code.

The above Velocity params (I hope they're Velocity ;) are the same ones used
in FileTemplates->Includes->FileHeader and I thought I can use them but they
are ignored in my experiment :'(

Can somebody tell me how can I access similar variables or maybe IntelliJ
team can guide us?

Thank you,
-Florin


1 comment

I believe File templates and Live templates are using two different types of
params, and therefore, you can't do it ... at least this was the case with
3.0 ... ... was this fixed in 4.0?

David



"Florin PATRASC" <flop@myrealbox.com> wrote in message
news:c14247$s19$1@is.intellij.net...

Hi,

>

I am trying to play with the live templates in the new IDEA4 and it seems

I

am missing something here.

>

I want my template to interpret the 'ts' abbreviation, having the effect

of

inserting: $, $ and $ at the current cursor position

while

I am editing code.

>

The above Velocity params (I hope they're Velocity ;) are the same ones

used

in FileTemplates->Includes->FileHeader and I thought I can use them but

they

are ignored in my experiment :'(

>

Can somebody tell me how can I access similar variables or maybe IntelliJ
team can guide us?

>

Thank you,
-Florin

>
>


0

Please sign in to leave a comment.