Possible to retrieving current project name within live template?

Hi,

I'm using IntelliJ 8 and I'm creating some live templates to speed up development and the code in the template has to use the name of the project and I don't want to hard code this in the template. Is it possbile to define a variable somewhere that will hold my project's name and use this variable in my live template?

TIA,

Raymond

1 comment
Comment actions Permalink

Hello Raymond,

I'm using IntelliJ 8 and I'm creating some live templates to speed up
development and the code in the template has to use the name of the
project and I don't want to hard code this in the template. Is it
possbile to define a variable somewhere that will hold my project's
name and use this variable in my live template?


No, I don't think this is currently possible. A feature request in YouTrack
is welcome.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.