Skip to content

Commit d0cca15

Browse files
committed
Add snippet for enumeration
1 parent a85152b commit d0cca15

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

schemas/rpgle.code-snippets

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@
123123
"$0"
124124
]
125125
},
126+
"enumeration": {
127+
"prefix": "dcl-enum",
128+
"description": "Declare enumeration",
129+
"body": [
130+
"dcl-enum ${1:name} ${2:qualified};",
131+
" ${3:CONSTANT1} ${4:value1};",
132+
" ${5:CONSTANT2} ${6:value2};",
133+
"end-enum;",
134+
"$0",
135+
]
136+
},
126137
"prototype": {
127138
"prefix": "dcl-pr",
128139
"body": [

0 commit comments

Comments
 (0)