Hi,

I'd like to be able to type something like the following as a live
template:

     if ($VAR$ == null) { throw new $EXCEPTION$("$VAR$ is null"); }

And have the variable $EXCEPTION$ just be chosen from a fixed list that I
can specify.  So for example I could define $EXCEPTION$ as
     "IllegalStateException", "IllegalArgumentException"
so that when this template is added, I can choose one of these two.   This
functionality would also have many other applications.

The ability to define my own live template functions would obviously be a
nice solution to this!

Cheers,
Ben.


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to