Improve C++ for loop snippet
This commit is contained in:
parent
4af3c4acd5
commit
1c08e92063
@ -9,7 +9,7 @@ enum ${1:name} {
|
||||
endsnippet
|
||||
|
||||
snippet for "For loop, index or range"
|
||||
for (${1:auto} ${2:index} ${3/(.*;.*)|(\w*)/(?1:=:\:)/} ${3:0; $2 < ${4:count}; $2${5:++}}) {
|
||||
for (${1:auto} ${2:index} ${4/(.*;.*)|(\w*)/(?1:=:\:)/} ${4:${3:0}; $2 < ${5:count}; $2${6:++}}) {
|
||||
$0
|
||||
}
|
||||
endsnippet
|
||||
|
Loading…
x
Reference in New Issue
Block a user