How to change ${USER}
value in JetBrains WebStorm?
I was searching under Settings-> File and Code Templates
but there I can change only structure of the temple instead 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 incorporates all the functionality that WebStorm comes equipped with (CSS, JavaScript HTML), PLUS full-fledged PHP support (and databases support).
On the profile page sidebar, choose General. Use tabs on top to edit the different parts of the profile: Choose Personal Data to edit: first and last name, username.
From the main menu, select File | New Projects Setup | Settings/Preferences for New Projects, and click Editor | Inspections. In the Profile list, select the profile that you want to share, apply the changes and close the dialog.
Goto Settings-> File and Code Templates
choose desired file type and use set command.
#set( $USER = "your desired name" )
For example: For Javascript
/**
* #set( $USER = "your desired name" )
* Created by ${USER} on ${DATE}.
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With