Live Templates help you generate frequently used code constructs in seconds. For example, type for and press Tab to get the template code of a loop:

live template example

Use Tab to move between the template fields.