How to change ${USER} vaule?

How to change ${USER} vaule? I was searching under Settings-> File and Code Templates but there i can change only structure of the temple insted of value of variable USER:


/**
* Created by ${PRODUCT_NAME}.
* User: ${USER}
* Date: ${DATE}
* Time: ${TIME}
* To change this template use File | Settings | File Templates.
*/




PhpStorm 6.0.3
1 comment

Hello!

${USER} variable value is a value of java system property user.name. So the most obvious way to change it is to pass a new value of this property to java.
Try adding the following line to bin/PhpStorm.exe.vmoptions:
-Duser.name=desired_name

where desired_name is a value you'd like to specify for USER variable

1

Please sign in to leave a comment.