I want to change the automatic author that appears when I create a file in AndroidStudio.
/**
* Created by a556520 on 16/01/14.
*/
public class POI {
Actually the correct way to change the username is to change the name of the current user logged in into Windows. (if you're using windows)
Android Studio uses the name saved in %USERNAME% variable.
This is the name you get if you type whoami
into a command console
or batch file. And it is the name that is stored under C(orWhatEver):\User.
To change the name you can not just change the name of the profile
you are logged in.
You need to create a new user and give it the correct name.
This way, even if you reinstall AndroidStudio some day, you will end with
the correct ${USER}
again.
The easier way surely is to just hard code your name into the template. But that is just treating the symptoms and you should use the way to fix the root cause.