Skip to content

Commit aaf67ec

Browse files
authored
Change cursor positions for-for_in and for_of
Most of us usually want to change edit a name of array to iterate for these two functions
1 parent fb761ac commit aaf67ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sublime-completions/Miscellaneous.sublime-settings

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
],
5252
[
5353
"for_of",
54-
"for (${1:variable} of object) {\n\t${2:// statement}\n}"
54+
"for (${1:variable} of ${2:object}) {\n\t${0:// statement}\n}"
5555
],
5656
[
5757
"for_in",
58-
"for (${1:variable} in object) {\n\t${2:// statement}\n}"
58+
"for (${1:variable} in ${2:object}) {\n\t${0:// statement}\n}"
5959
],
6060
[
6161
"do_while",
@@ -146,4 +146,4 @@
146146
"var"
147147
]
148148
]
149-
}
149+
}

0 commit comments

Comments
 (0)