Ideally I'd like access to the OSX "full name" in addition to the account name that $(USER) provides.
I've had a look at the list of template variables available for IDEA (http://www.jetbrains.com/idea/webhelp/file-template-variables.html) and it doesn't seem to be available. My best bet would seem to be just to add my own VTL variable in an include file. Is this about right?
Crispin,
the USER var is filled with current user's name (same as 'user.name' and env.USER)
Thanks Anton.
Ideally I'd like access to the OSX "full name" in addition to the account name that $(USER) provides.
I've had a look at the list of template variables available for IDEA (http://www.jetbrains.com/idea/webhelp/file-template-variables.html) and it doesn't seem to be available. My best bet would seem to be just to add my own VTL variable in an include file. Is this about right?
Yes, currently there is no general way to have user's full name.
You can file a request here http://youtrack.jetbrains.net/issues/OC#newissue=yes. But I'm not sure if we can easily add such a var.
Thanks,
Anton Makeev
id -P | cut -d: -f 8