Skip to content

Commit c20f718

Browse files
Aliaksandr TrushAliaksandr Trush
Aliaksandr Trush
authored and
Aliaksandr Trush
committed
Split do.sublime-snippet to several snippets
1 parent 748fa2a commit c20f718

4 files changed

+38
-2
lines changed

do.sublime-snippet renamed to do-loop-until.sublime-snippet

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<content><![CDATA[
33
Do
44
$0
5-
Loop ${1:While/Until} ${2:statement}
5+
Loop Until ${1:statement}
66
]]></content>
77
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
88
<tabTrigger>do</tabTrigger>
99
<!-- Optional: Set a scope to limit where the snippet will trigger -->
1010
<scope>source.vbs</scope>
11-
<description>Do While/Untile loop</description>
11+
<description>Do Loop Until</description>
1212
</snippet>

do-loop-while.sublime-snippet

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
Do
4+
$0
5+
Loop While ${1:statement}
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>do</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<scope>source.vbs</scope>
11+
<description>Do Loop While</description>
12+
</snippet>

do-until-loop.sublime-snippet

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
Do Until ${1:statement}
4+
$0
5+
Loop
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>do</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<scope>source.vbs</scope>
11+
<description>Do Until Loop</description>
12+
</snippet>

do-while-loop.sublime-snippet

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<snippet>
2+
<content><![CDATA[
3+
Do While ${1:statement}
4+
$0
5+
Loop
6+
]]></content>
7+
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
8+
<tabTrigger>do</tabTrigger>
9+
<!-- Optional: Set a scope to limit where the snippet will trigger -->
10+
<scope>source.vbs</scope>
11+
<description>Do While Loop</description>
12+
</snippet>

0 commit comments

Comments
 (0)