Change $ {USER} environment variable in Intellij IDEA

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?

+1
intellij-idea environment-variables javadoc username author
Dec 25 '15 at 22:33
source share
1 answer

So finally, on the Jetbrains error debugger, I found this question , and apparently no fixes are planned for it. If you are interested in some kind of solution - vote for the feature request .

+1
Dec 26 '15 at 22:34
source share



All Articles