Use live templates to insert frequent code constructs.
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;.
Use Tab to move between the template fields.