-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
201 lines (201 loc) · 4.37 KB
/
package.json
File metadata and controls
201 lines (201 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"name": "vscode-ddp",
"displayName": "DDP",
"description": "Language Support for DDP",
"version": "0.0.12",
"icon": "./icons/ddp-logo.png",
"author": {
"name": "bafto and NotLe0n",
"url": "https://github.com/DDP-Projekt"
},
"publisher": "DDP-Projekt",
"repository": {
"url": "https://github.com/DDP-Projekt/vscode-ddp"
},
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "ddp",
"extensions": [
".ddp"
],
"aliases": [
"ddp",
"DDP",
"Die Deutsche Programmiersprache"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/ddp-file-light.png",
"dark": "./icons/ddp-file-dark.png"
}
}
],
"grammars": [
{
"language": "ddp",
"scopeName": "source.ddp",
"path": "./syntaxes/ddp.tmLanguage.json"
}
],
"snippets": [
{
"language": "ddp",
"path": "./snippets/snippets.json"
}
],
"commands": [
{
"command": "ddp.languageserver.stop",
"title": "DDP: Stop Language Server",
"description": "Stops the running instance of the language server"
},
{
"command": "ddp.languageserver.restart",
"title": "DDP: Restart Language Server",
"description": "Restart the running instance of the language server"
},
{
"command": "ddp.run.file",
"title": "DDP: Run the current file",
"description": "Runs the currently open file using $kddp starte",
"icon": "$(run)"
},
{
"command": "ddp.ast.refresh",
"title": "DDP: Refresh AST Tree",
"icon": "$(refresh)"
},
{
"command": "ddp.ast.goToNode",
"title": "DDP: Go to Node",
"icon": "$(symbol-reference)"
},
{
"command": "ddp.ast.nodePicker",
"title": "DDP: Node Picker",
"icon": "$(inspect)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "ast-view",
"title": "DDP: AST Anzeige",
"icon": "$(list-tree)"
}
]
},
"configuration": {
"title": "DDP",
"properties": {
"ddp.DDPPATH": {
"type": "string",
"default": "",
"description": "overrides the environment variable DDPPATH locally"
},
"ddp.run.args": {
"type": "array",
"default": [],
"description": "arguments that are passed to $kddp starte"
},
"ddp.DDPLS.path": {
"type": "string",
"default": "",
"description": "if present this DDPLS binary is used instead of the one shipped with the extension or the global one"
},
"ddp.DDPLS.useSystemwideInstall": {
"type": "boolean",
"default": false,
"description": "if true the system-wide installed DDPLS is used instead of the one shipped with the extension"
},
"ddp.DDPLS.flags": {
"type": "array",
"default": [],
"description": "flags that are passed to the language server"
}
}
},
"menus": {
"commandPalette": [
{
"command": "ddp.ast.nodePicker",
"when": "false"
},
{
"command": "ddp.ast.goToNode",
"when": "false"
}
],
"editor/title/run": [
{
"command": "ddp.run.file",
"when": "resourceLangId == ddp",
"group": "navigation"
}
],
"view/title": [
{
"command": "ddp.ast.refresh",
"when": "view == ast-view-tree",
"group": "navigation"
},
{
"command": "ddp.ast.nodePicker",
"when": "view == ast-view-tree",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "ddp.ast.goToNode",
"when": "view == ast-view-tree",
"group": "inline"
}
]
},
"views": {
"ast-view": [
{
"id": "ast-view-tree",
"name": "AST",
"icon": "",
"type": "tree",
"visibility": "hidden"
}
]
}
},
"dependencies": {
"lookpath": "^1.2.2",
"vscode-languageclient": "^7.0.0"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.68.0",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.16.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.7.2"
}
}