8 lines
133 B
Plaintext
8 lines
133 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: foreach (...) {...}
|
||
|
# key: fore
|
||
|
# uuid: fore
|
||
|
# --
|
||
|
foreach (${1:collection} as ${2:var}) {
|
||
|
`%`$0
|
||
|
}
|