Skip to content

Instantly share code, notes, and snippets.

@smyykb
Created March 5, 2018 06:38
Show Gist options
  • Save smyykb/c342f332d3c1017373189de7659caba6 to your computer and use it in GitHub Desktop.
Save smyykb/c342f332d3c1017373189de7659caba6 to your computer and use it in GitHub Desktop.
Change Author template in Android Studio
You can overwrite the ${USER} variable in the template file with the
#set( $VARIABLE = "value")
function. Go to Settings -> File and Code Templates -> Includes -> File Header prepend the #set() function call, for example:
#set( $USER = "Your name" )
/**
* Created by ${USER} on ${DATE}.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment