IntelliJ IDEA
 
Get IntelliJ IDEA

Share live templates

Last modified: 08 October 2024

IntelliJ IDEA stores definitions of custom live template groups and templates added to predefined template groups in automatically generated XML configuration files.

  • For a custom group, the file contains definitions of all the templates the group includes.

  • For a modified predefined group, the file contains definitions of the added (or modified) live templates only.

Live template group configuration files are stored in the templates directory of the IDE configuration directory. By copying the relevant files in the templates directory, you can share live templates among team members and multiple IntelliJ IDEA installations. Moreover, you can share live templates across all IDEs based on the IntelliJ platform.