Intellij IDEA has class / file templates, for example:
/** * Created by ${USER} on ${DATE}. */
where ${USER} is registered by default in the username (or licensed username for Ultimate versions).
I need to have a name in the file templates other than those registered in the OS username. How to change this variable in IDEA?
What I can, but this is not what I'm looking for:
- Change the template title directly. NO, I need to change the variable for all templates and other usages in the IDE.
- start IDEA with bat / cmd / lnk with the modified
%USERNAME% OS environment variable. No, I'm looking for a solution in the IDEA settings, not the runtime settings. - modifying
idea.exe.vmoptions ( idea64.exe.vmoptions ) as described in this and this answers may be a good solution, but it has some disadvantages (the system of changes is applied in general, administrator privilege is required).
So, the main idea: is it possible in IDEA to set the values โโof variables in local user settings?
intellij-idea environment-variables javadoc username author
radistao Dec 25 '15 at 22:33 2015-12-25 22:33
source share