forked from jonnyboyC/kos-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
206 lines (206 loc) · 5.65 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
{
"name": "kos-vscode",
"displayName": "kOS (Kerboscript)",
"description": "Syntax highlighting, auto-complete, and language diagnostics for KerboScript in Kerbal Operating System.",
"author": "John Chabot",
"license": "MIT",
"version": "1.1.5",
"scripts": {
"bench": "cd server && npm run bench",
"vscode:prepublish": "cd clients/vscode && npm run update-vscode && cd ../.. && node build/clean.js && npm run bundle && npm run test",
"bundle": "run-p bundle:vscode bundle:atom bundle:server",
"build": "run-p build:vscode build:atom build:server",
"test": "cd server && npm test",
"bundle:vscode": "cd clients/vscode && npm run bundle",
"bundle:atom": "tsc -p ./clients/atom/tsconfig.json",
"bundle:server": "cd server && npm run bundle",
"build:vscode": "cd clients/vscode && npm run build",
"build:atom": "tsc -p ./clients/atom/tsconfig.json",
"build:server": "cd server && npm run build",
"postinstall": "cd clients/vscode && npm install && cd ../atom && npm install && cd ../../server && npm install && cd .."
},
"galleryBanner": {
"color": "#a3a3a3",
"theme": "dark"
},
"icon": "clients/vscode/images/kos_extension_logo.png",
"repository": {
"type": "git",
"url": "https://github.com/jonnyboyC/kos-language-server"
},
"publisher": "JohnChabot",
"categories": [
"Programming Languages",
"Snippets"
],
"bugs": {
"url": "https://github.com/jonnyboyC/kos-language-server/issues"
},
"homepage": "https://github.com/jonnyboyC/kos-language-server#readme",
"keywords": [
"Kerbal Operating System",
"kos",
"Kerbal Space Program",
"ksp",
"language-server"
],
"devDependencies": {
"npm-run-all": "^4.1.5"
},
"engines": {
"vscode": "^1.32.0"
},
"activationEvents": [
"onLanguage:kos",
"workspaceContains:**/ksconfig.json",
"onCommand:kos.lspPort",
"onCommand:kos.startTelnet",
"onCommand:kos.startksp"
],
"main": "./clients/vscode/out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "kOS configuration",
"properties": {
"kos-vscode.kerbalSpaceProgramPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "The full path to Kerbal Space Program."
},
"kos-vscode.telnetHost": {
"type": "string",
"default": "127.0.0.1",
"description": "The host of the kOS telnet server"
},
"kos-vscode.telnetPort": {
"type": "number",
"default": 5410,
"description": "The port of the kOS telnet server"
},
"kos-vscode.lspPort": {
"type": "number",
"default": 7000,
"scope": "window",
"description": "The WebSocket port to stream LSP log data into."
},
"kos-vscode.completionCase": {
"type": "string",
"default": "camelcase",
"enum": [
"lowercase",
"uppercase",
"camelcase",
"pascalcase"
],
"description": "The case kos-language-server will suggest as part of auto completion"
},
"kos-vscode.trace.server.verbosity": {
"scope": "window",
"type": "string",
"description": "Controls the verbosity of the trace between VS Code and the language server",
"enum": [
"off",
"message",
"verbose"
],
"default": "off"
},
"kos-vscode.trace.server.format": {
"scope": "window",
"type": "string",
"description": "Controls the format of the trace between VS Code and the language server",
"enum": [
"text",
"json"
],
"default": "text"
},
"kos-vscode.trace.server.level": {
"scope": "window",
"type": "string",
"description": "Controls the level of message log.",
"enum": [
"verbose",
"info",
"log",
"warn",
"error",
"none"
],
"default": "error"
}
}
},
"commands": [
{
"command": "kos.searchDocs",
"title": "kOS: Search Documentation"
},
{
"command": "kos.startTelnet",
"title": "kOS: Connect Telnet Client"
},
{
"command": "kos.startksp",
"title": "kOS: Start Kerbal Space Program"
},
{
"command": "kos.startLspLog",
"title": "kOS: Route Logging to LSP inspector"
},
{
"command": "kos.startVscodeLog",
"title": "kOS: Route Logging to Vscode"
}
],
"menus": {
"commandPalette": [
{
"command": "kos.startksp",
"when": "resourceLangId == kos"
},
{
"command": "kos.startLspLog",
"when": "resourceLangId == kos"
}
],
"editor/context": [
{
"command": "kos.searchDocs",
"when": "resourceLangId == kos",
"group": "4_search"
}
]
},
"languages": [
{
"id": "kos",
"aliases": [
"Kerbal Operating System",
"kos"
],
"extensions": [
".ks"
],
"configuration": "./kos.configuration.json"
}
],
"grammars": [
{
"language": "kos",
"scopeName": "source.kos",
"path": "./clients/vscode/kos-grammar/language-kos.json"
}
],
"snippets": [
{
"language": "kos",
"path": "clients/vscode/snippets/snippets.json"
}
]
}
}