Skip to content

Commit 72e577a

Browse files
authored
Update stSurroundWith.json
add case expression to surround with
1 parent 97e545c commit 72e577a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

snippets/stSurroundWith.json

+13
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,18 @@
4747
"END_REPEAT;"
4848
],
4949
"description": "Surround selected text with repeat"
50+
},
51+
"surround_case": {
52+
"scope": "st",
53+
"prefix": [
54+
"surround with case..."
55+
],
56+
"body": [
57+
"CASE ${1:selector} OF",
58+
"\tCaseList:",
59+
"\t\t${TM_SELECTED_TEXT}",
60+
"END_CASE;"
61+
],
62+
"description": "Surround selected text with case"
5063
}
5164
}

0 commit comments

Comments
 (0)