CLion 2016.3 Help

Live Templates

In this part:


Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately.

They contain the predefined code fragments for the following languages:

  • C/C++
  • CMake
  • html/xml
  • JavaScript
  • xsl

Live templates are stored in the following location:

  • Windows: <your_user_home_directory>\.CLion<version_number>\config\templates
  • Linux: ~CLion<version>/config/templates
  • OS X: ~/Library/Preferences/CLion<version>/templates

Important notes

See Also

Last modified: 29 March 2017