Skip to content

Commit de35623

Browse files
committed
Display file base file
Signed-off-by: Liam Allan <[email protected]>
1 parent 60939d0 commit de35623

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
],
3333
"main": "./src/extension.js",
3434
"contributes": {
35+
"snippets": [
36+
{
37+
"path": "./schemas/dspf.code-snippets",
38+
"language": "dds.dspf"
39+
}
40+
],
3541
"configuration": {
3642
"title": "Display File",
3743
"properties": {

schemas/dspf.code-snippets

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"subfile": {
3+
"scope": "dds.dspf",
4+
"description": "Basic load all subfile",
5+
"isFileTemplate": true,
6+
"prefix": "subfile",
7+
"body": [
8+
" A INDARA",
9+
" A CA12(12)",
10+
" A R SFLDTA SFL",
11+
" A RRN 4Y 0H",
12+
" A* DISPLAY DTA",
13+
" A XSEL 1A B 7 8",
14+
" A XID 3A O 7 12",
15+
" A XNAME 38A O 7 16",
16+
" A* COLOR HELLO",
17+
" A R SFLCTL SFLCTL(SFLDTA)",
18+
" A SFLPAG(0014)",
19+
" A SFLSIZ(9999)",
20+
" A OVERLAY",
21+
" A 85 SFLDSPCTL",
22+
" A 95 SFLDSP",
23+
" A N85 SFLCLR",
24+
" A SFLRRN 4S 0H SFLRCDNBR(CURSOR)",
25+
" A*",
26+
" A 6 6'Opt'",
27+
" A DSPATR(HI)",
28+
" A DSPATR(UL)",
29+
" A 6 12'ID'",
30+
" A DSPATR(HI)",
31+
" A DSPATR(UL)",
32+
" A 6 16'Name'",
33+
" A DSPATR(UL)",
34+
" A COLOR(WHT)",
35+
" A R FOOTER_FMT",
36+
" A OVERLAY",
37+
" A 3 6'F3=Exit'",
38+
" A COLOR(BLU)",
39+
" A 2 35'$1'",
40+
" A DSPATR(UL)",
41+
" A COLOR(WHT)",
42+
" A 4 6'5=View'",
43+
" A COLOR(BLU)",
44+
"",
45+
]
46+
}
47+
}

0 commit comments

Comments
 (0)