File Template Variables

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion Gogland DataGrip Rider Android Studio
27.03.2014
6 925
This plugins allow to specify or override any variables in the File Template functionality per Project

Download plugin

Recent change notes

0.4.2 @ 27.03.2014 0.4.1 @ 26.02.2014 0.4 @ 21.02.2014
  • Change text field of variable's name to editable combobox with autocomplete
  • Read all possible variables from all file templates via FileTemplateManager (compatible with all IDEA platform's products)
  • Set all possible variables to combobox's list in alphabetic order
  • Remove UPPER case validation, since we can define non UPPER case variable in the templates.
0.3 @ 19.02.2014:
  • New UI validation behavior:
    • Name should be in UPPER case
    • During rename variable new name should not be exists
  • Small refactoring of the code
0.2 @ 19.02.2014: 0.1 @ 17.02.2014:
  • Initial Commit

General usage instructions

This plugins helps to add or override template variables which is using in File Template functionality. After installing plugin open Settings -> Project Settings -> File and Code Template Variables. Specify your's own variables. Fill free to use them in the File Template Settings for any template.

Note: You can specify defaults variable for all projects in the Default Project Settings. This settings will be applied for new created project only. Old one will not have such default setting.