Live templates

Last modified: 08 September 2023

Use live templates to insert common constructs into your code, such as statements or definitions of database objects.

The following video shows how you can use live templates.

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.

https://resources.jetbrains.com.cn/help/img/idea/2023.2/db_sql_live_templates.png
Gif