With live templates, you can generate frequently used code constructs in seconds.

Live template

When you select a live template from the suggestion list, the template expands to the variant that is defined on the Editor | Live Templates page of the Settings/Preferences dialog &shortcut:ShowSettings; .

Apply a live template

Use Tab to move between the template fields.