Skip to content

Commit 01ee217

Browse files
authored
Merge pull request #32 from simatic-ax/husKyRe-add-surround-with-case
Update stSurroundWith.json
2 parents c05183d + 6773fa2 commit 01ee217

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

snippets/stSurroundWith.json

Lines changed: 13 additions & 0 deletions
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)