Skip to content

Instantly share code, notes, and snippets.

@Ivlyth
Created March 3, 2015 08:09
Show Gist options
  • Save Ivlyth/64a9abd2f5e890dbd2af to your computer and use it in GitHub Desktop.
Save Ivlyth/64a9abd2f5e890dbd2af to your computer and use it in GitHub Desktop.
Predefined template variables in pycharm
Predefined template variables
PyCharm comes with a set of predefined template variables.
The available predefined file template variables are:
${PROJECT_NAME} - the name of the current project.
${NAME} - the name of the new file which you specify in the New File dialog box during the file creation.
${USER} - the login name of the current user.
${DATE} - the current system date.
${TIME} - the current system time.
${YEAR} - the current year.
${MONTH} - the current month.
${DAY} - the current day of the month.
${HOUR} - the current hour.
${MINUTE} - the current minute.
${PRODUCT_NAME} - the name of the IDE in which the file will be created.
${MONTH_NAME_SHORT} - the first 3 letters of the month name. Example: Jan, Feb, etc.
${MONTH_NAME_FULL} - full name of a month. Example: January, February, etc.
see : https://www.jetbrains.com/pycharm/help/file-template-variables.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment