Live Templates
In this part:
- Live Templates
- Simple, Parameterized and Surround Live Templates
- Live Template Abbreviation
- Live Template Variables
- Groups of Live Templates
- Creating and Editing Live Templates
- Creating and Editing Template Variables
- Sharing Live Templates
Overview
Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately. To expand a code snippet, type the corresponding template abbreviation and press Tab. Use Tab to jump from one variable in the template to another, see Live Template Variables.
Find the full list of predefined Live templates on the Live Templates page of the Settings / Preferences Dialog. For more details, see Creating Code Constructs by Live Templates and Creating Code Constructs Using Surround 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: 29 November 2017