Skip to content

Instantly share code, notes, and snippets.

@zacscoding
Last active January 17, 2018 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zacscoding/d96265f15c896b610ca406236c3bc049 to your computer and use it in GitHub Desktop.
Save zacscoding/d96265f15c896b610ca406236c3bc049 to your computer and use it in GitHub Desktop.
intellij comment template from package names
#set($packageName = ${PACKAGE_NAME})
#if($packageName.matches("^(com.company.*)"))
/**
*
* @author $$
* @Date ${DATE}
*/
#else
/**
*
* @author zacconding
* @Date ${DATE}
* @GitHub : https://github.com/zacscoding
*/
#end
- ref
https://www.jetbrains.com/help/idea/2016.3/creating-and-editing-file-templates.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment