forked from kirides/vscode-daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
187 lines (187 loc) · 4.92 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
{
"name": "vscode-daedalus",
"description": "Daedalus Language Support powered by https://github.com/kirides/DaedalusLanguageServer",
"repository": {
"type": "git",
"url": "https://github.com/kirides/vscode-daedalus.git"
},
"author": {
"name": "Kirides",
"url": "https://github.com/kirides/"
},
"displayName": "Daedalus (Gothic/II)",
"homepage": "https://github.com/kirides/vscode-daedalus",
"license": "MIT",
"version": "0.0.24",
"engines": {
"vscode": ">=1.70.0"
},
"publisher": "Kirides",
"activationEvents": [
"onLanguage:daedalus"
],
"contributes": {
"configurationDefaults": {
"[daedalus]": {
"files.encoding": "windows1252"
}
},
"configuration": {
"type": "object",
"title": "Daedalus",
"properties": {
"daedalusLanguageServer.fileEncoding": {
"type": "string",
"default": "Windows-1252",
"enum": [
"Windows-1250",
"Windows-1251",
"Windows-1252"
],
"markdownDescription": "file encoding for `*.d` files"
},
"daedalusLanguageServer.srcFileEncoding": {
"type": "string",
"default": "Windows-1252",
"enum": [
"Windows-1250",
"Windows-1251",
"Windows-1252"
],
"markdownDescription": "file encoding for `*.src` files"
},
"daedalusLanguageServer.loglevel": {
"type": "string",
"default": "info",
"enum": [
"debug",
"info",
"warning",
"error"
],
"description": "defines which logs should be outputted"
},
"daedalusLanguageServer.pprofAddr": {
"type": "string",
"default": "",
"examples": [
"",
"127.0.0.1:1234"
],
"markdownDescription": "a `host:port` combination to allow debugging performance issues at `host:port/debug/pprof/`"
},
"daedalusLanguageServer.numParserThreads": {
"type": "number",
"default": 0,
"examples": [
0,
1,
2,
4,
8,
16
],
"markdownDescription": "defines how many threads will be used for parsing sources.\n\nA value of `0` or less means \"use half of the available cores\"."
},
"daedalusLanguageServer.projectFiles": {
"type": "array",
"default": [
"Gothic.src",
"Camera.src",
"Menu.src",
"Music.src",
"ParticleFX.src",
"SFX.src",
"VisualFX.src"
],
"examples": [
[
"C:\\Code\\Gothic.src"
],
[
"Gothic.src"
]
],
"markdownDescription": "specify the project files.\n\n- filename-only: look up all directories up to the root and try to find the file.\n- relative/absolute path: try to find exactly these files"
},
"daedalusLanguageServer.inlayHints.constants": {
"type": "boolean",
"default": true,
"markdownDescription": "toggles inlay hints for constant values"
}
}
},
"languages": [
{
"id": "daedalus",
"aliases": [
"Daedalus",
"daedalus"
],
"extensions": [
"d",
"D"
],
"configuration": "./language-configuration.json"
},
{
"id": "modelscript",
"aliases": [
"Modelscript",
"modelscript"
],
"extensions": [
"mds",
"MDS"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "daedalus",
"scopeName": "source.daedalus",
"path": "./syntaxes/daedalus.tmLanguage.json"
},
{
"language": "modelscript",
"scopeName": "source.modelscript",
"path": "./syntaxes/modelscript.tmLanguage.json"
}
],
"snippets": [
{
"language": "daedalus",
"path": "./snippets/daedalus.json"
},
{
"language": "modelscript",
"path": "./snippets/modelscript.json"
}
]
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "webpack --mode production",
"package": "vsce package",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"lint": "eslint",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "17.0.23",
"@types/vscode": "1.70.0",
"ts-loader": "9.4.1",
"typescript": "4.8.4",
"vsce": "^2.13.0",
"webpack": "5.76.0",
"webpack-cli": "4.10.0"
},
"dependencies": {
"@types/glob": "8.0.0",
"glob": "8.0.3",
"vscode-languageclient": "8.0.2"
}
}