How to accept my own variable name in live template?

Dumb question, but I am somewhat stuck....

I use 'itli' live template. Idea suggests two names for the variable inside
the loop.
But I write my own variable name. But, when I press Enter, Idea fills name
from first of the choices.
How can I use my own variable name, not this from the list.


--

pozdrawiam,

-


Michal Szklanowski
senior consultant
empolis Polska
tel. (0-22) 535-88-33
-




2 comments
Comment actions Permalink

Looks like you have to create the variable before using the 'itli' template
(which maybe is not such a bad idea anyway... ;)

Runar

"Michal Szklanowski" <mszklano@wp.pl> wrote in message
news:bg2j11$a13$1@is.intellij.net...

Dumb question, but I am somewhat stuck....

>

I use 'itli' live template. Idea suggests two names for the variable

inside

the loop.
But I write my own variable name. But, when I press Enter, Idea fills name
from first of the choices.
How can I use my own variable name, not this from the list.

>
>

--

>

pozdrawiam,

>

----------------------------------------------
Michal Szklanowski
senior consultant
empolis Polska
tel. (0-22) 535-88-33
----------------------------------------------

>
>


0
Comment actions Permalink

Michal Szklanowski wrote:

I use 'itli' live template. Idea suggests two names for the variable inside
the loop.
But I write my own variable name. But, when I press Enter, Idea fills name
from first of the choices.
How can I use my own variable name, not this from the list.


Hmm. At first I couldn't reproduce this but it seems like if you choose
a name which is a prefix of a name in the list, it will auto-complete
the name whether you want to or not.

Workaround: When you have typed the variable name, press Escape to
dismiss the auto-completion popup before you tab to the next position in
the live template.

0

Please sign in to leave a comment.