summaryrefslogtreecommitdiff
path: root/User/js-eacharray.sublime-snippet
diff options
context:
space:
mode:
Diffstat (limited to 'User/js-eacharray.sublime-snippet')
-rw-r--r--User/js-eacharray.sublime-snippet9
1 files changed, 9 insertions, 0 deletions
diff --git a/User/js-eacharray.sublime-snippet b/User/js-eacharray.sublime-snippet
new file mode 100644
index 0000000..7cade49
--- /dev/null
+++ b/User/js-eacharray.sublime-snippet
@@ -0,0 +1,9 @@
+<snippet>
+ <content><![CDATA[
+for (${1:var i} = 0; ${1/(var|let|const) //} < ${2:l}.length; ${1/(var|let|const) //}++)
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>eacharray</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.js</scope>
+</snippet>