Live Templates - Substring...
I'm writing up a live template and want to return a sub-string of the
classname.
My template currently has $CLASSNAME$ which is bound to className().
The classes in question are being named FooEJB and I want to template to
return Foo on its own. Possible?
Please sign in to leave a comment.
"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2003.12.18.04.18.34.193488@talios.com...
>
>
>
No, currently not.
On Fri, 19 Dec 2003 12:27:38 +0300, Evgueny Vigdorchik wrote:
Darn :( Ah well...
Not possible.
I think a great enhancement to Live Templates would be the ability to define one's own expressions, so that one is not limited to the 15 or so built-in ones currently offered (className() being one of them).
How about Intellij implementing this enhancement by making use of XDoclet? Allow users to add custom xdoclet modules and have the methods of those modules automatically added to that expression list.