java - How change ${USER} variable in intellij idea without change OS user name? -


by ${user} intellij idea means login name of current user. if login differ name used developer name? possible set user other value without changing os login name?

you can modify file idea.exe.vmoptions or idea64.exe.vmoptions, should in bin folder of ide istallation. linux version, cold idea.vmoptions. need add there parameter:

-duser.name=yourname 

this make ${user} variable inside intellij idea equals parameter value , don't have change current os user login name. i've tested in intellij idea 14.1.3 file , code templetes.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -