AppCode
 
Get AppCode
You are viewing the documentation for an earlier version of AppCode.

Live templates

Last modified: 12 May 2022

Expand a live template:

Configure: ⌃ ⌥ S Preferences | Editor | Live Templates

Use live templates to insert common constructs into your code, such as loops, conditions, various declarations, or print statements.

To expand a code snippet, type the corresponding template abbreviation and press . Keep pressing to jump from one variable in the template to the next one. Press ⇧ ⇥ to move to the previous variable.

If you do not know the necessary abbreviation, press ⌃ J to open a list of templates available in the current context.

https://resources.jetbrains.com/help/img/idea/2022.2/ac_live_templates_example.png
Gif