Is there a keyboard shortcut generating a foreach and also for loop?
Pressing Ctrl+J opens the list of live templates within your code context. Then type 'itin'.