Live Templates
Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately.
Live templates are stored in the following location:
- Windows:
<your_user_home_directory>\.RubyMine<version_number>\config\templates
- Linux:
~RubyMine<version>/config/templates
- macOS:
~/Library/Preferences/RubyMine<version>/templates
Important notes
- To create or edit the Live templates, use the Live Templates page of the Settings/Preferences dialog.
- Having created a custom live template, you can export all the live templates together with the other settings, and import them. Refer to the section Exporting and Importing Settings for details.
Last modified: 4 April 2018