-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
236 lines (236 loc) · 5.56 KB
/
package.json
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"name": "vscode-kdlang",
"displayName": "Kd",
"description": "Kd language support (syntax highlighting, formatter, snippets) for Visual Studio Code.",
"publisher": "kdlanguage",
"icon": "icons/icon.png",
"version": "0.1.14",
"license": "MIT",
"engines": {
"vscode": "^1.40.0"
},
"homepage": "https://kd-lang.github.io/",
"bugs": {
"url": "https://github.com/kdlang/vscode-kdlang/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/kdlang/vscode-kdlang"
},
"scripts": {
"compile": "node ./scripts/build.js",
"compile-dev": "node ./scripts/build.js --watch",
"lint": "eslint .",
"lintmd": "markdownlint *.md -i CHANGELOG.md",
"vscode:prepublish": "node ./scripts/minify_json.js && node ./scripts/build.js",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"postpackage": "node ./scripts/minify_json.js --restore",
"testgrammar": "vscode-tmgrammar-test -s source.kd -g syntaxes/kd.tmLanguage.json -t \"syntaxes/tests/*.kd\""
},
"keywords": [
"Kd",
"kd",
"kd language",
"kdlang",
"extension",
"autocompletion"
],
"categories": [
"Snippets",
"Programming Languages"
],
"contributes": {
"snippets": [
{
"language": "kd",
"path": "snippets/snippets.json"
}
],
"languages": [
{
"id": "kd",
"aliases": [
"Kd"
],
"extensions": [
".kd",
".dsh",
".dd",
"kd.mod"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "kd",
"scopeName": "source.kd",
"path": "./syntaxes/kd.tmLanguage.json"
}
],
"configuration": {
"title": "Kd",
"properties": {
"kd.kdls.debug": {
"scope": "resource",
"type": "boolean",
"description": "Enables / disables the language server's debug mode.\nSetting it to true will create a log file to your workspace folder for bug reports."
},
"kd.kdls.customKdrootPath": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Custom path to the Kd installation directory (KDROOT)."
},
"kd.kdls.customPath": {
"scope": "resource",
"type": "string",
"default": "",
"description": "Custom path to the KDLS (Kd Language Server) executable."
},
"kd.kdls.enable": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Enables the language server. (alpha)"
},
"kd.kdls.enableFeatures": {
"scope": "resource",
"type": "string",
"description": "Enables specific language server features. Multiple values must be separated with a comma (,)."
},
"kd.kdls.disableFeatures": {
"scope": "resource",
"type": "string",
"description": "Disables specific language server features. Multiple values must be separated with a comma (,)."
},
"kd.kdls.connectionMode": {
"scope": "resource",
"type": "string",
"default": "stdio",
"enum": [
"stdio",
"tcp"
],
"description": "Specify the mode to be used when connecting to KDLS.",
"enumDescriptions": [
"Connects to the language server via standard input/output. (Default)",
"Connects to the language server via TCP"
]
},
"kd.kdls.tcpMode.port": {
"scope": "resource",
"type": "number",
"default": 5007,
"description": "Port to be used when connecting to the language server. (Only in TCP mode)"
},
"kd.kdls.tcpMode.useRemoteServer": {
"scope": "resource",
"default": false,
"type": "boolean",
"description": "Connect to a remote server instead of launching a new local process. (Only in TCP mode)"
},
"kd.kdls.customArgs": {
"scope": "resource",
"type": "string",
"description": "Custom arguments to be passed to the KDLS executable."
}
}
},
"configurationDefaults": {
"[kd]": {
"editor.insertSpaces": false
}
},
"keybindings": [
{
"command": "kd.fmt",
"key": "ctrl+i ctrl+i"
}
],
"commands": [
{
"command": "kd.run",
"title": "Run current file",
"category": "Kd"
},
{
"command": "kd.fmt",
"title": "Format current file",
"category": "Kd"
},
{
"command": "kd.prod",
"title": "Build an optimized executable from current file",
"category": "Kd"
},
{
"command": "kd.ver",
"title": "Show Kd version",
"category": "Kd"
},
{
"command": "kd.kdls.update",
"title": "Update KDLS",
"category": "Kd"
},
{
"command": "kd.kdls.restart",
"title": "Restart KDLS",
"category": "Kd"
}
],
"menus": {
"commandPalette": [
{
"command": "kd.run",
"when": "editorLangId == kd"
},
{
"command": "kd.fmt",
"when": "editorLangId == kd"
},
{
"command": "kd.prod",
"when": "editorLangId == kd"
},
{
"command": "kd.kdls.restart",
"when": "editorLangId == kd && config.kd.kdls.enable"
}
]
},
"breakpoints": [
{
"language": "kd"
}
]
},
"activationEvents": [
"workspaceContains:**/*.kd",
"onLanguage:kd",
"onCommand:kd.run",
"onCommand:kd.fmt",
"onCommand:kd.prod",
"onCommand:kd.ver",
"onCommand:kd.kdls.update",
"onCommand:kd.kdls.restart"
],
"main": "./out/extension.js",
"dependencies": {
"vscode-languageclient": "^7.0.0"
},
"devDependencies": {
"@types/node": "12",
"@types/vscode": "1.40.0",
"@typescript-eslint/eslint-plugin": "^4.33",
"@typescript-eslint/parser": "^4.33",
"esbuild": "~0.14.39",
"eslint": "^7.32",
"markdownlint-cli": "^0.31.1",
"typescript": "^4.6.4",
"vsce": "^2.7.0",
"vscode-tmgrammar-test": "~0.0.11"
}
}