-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
268 lines (268 loc) · 7.81 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
{
"name": "sc2galaxy",
"displayName": "StarCraft 2 Galaxy Script",
"description": "Language support for StarCraft 2 Galaxy Script",
"version": "1.10.5",
"publisher": "talv",
"license": "MIT",
"engines": {
"vscode": "^1.64.0"
},
"repository": {
"type": "git",
"url": "https://github.com/Talv/vscode-sc2-galaxy.git"
},
"keywords": [
"sc2",
"starcraft",
"galaxy",
"galaxy script"
],
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:galaxy"
],
"main": "./out/extension",
"icon": "icon.png",
"contributes": {
"configuration": {
"type": "object",
"title": "sc2galaxy",
"properties": {
"sc2galaxy.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "messages",
"markdownDescription": "Logging verbosity of communication between language server."
},
"sc2galaxy.trace.service": {
"scope": "window",
"type": "string",
"enum": [
"error",
"warn",
"info",
"verbose",
"debug"
],
"default": "info",
"markdownDescription": "Logging verbosity of intellisense service."
},
"sc2galaxy.dataPath": {
"scope": "window",
"type": "string",
"default": null,
"markdownDescription": "Custom path to SC2 data repository with builtin mods, such as local copy of [SC2GameData](https://github.com/SC2Mapster/SC2GameData)."
},
"sc2galaxy.fallbackDependency": {
"scope": "window",
"type": "string",
"enum": [
"mods/core.sc2mod",
"mods/liberty.sc2mod",
"mods/swarm.sc2mod",
"mods/void.sc2mod",
"mods/libertymulti.sc2mod",
"mods/swarmmulti.sc2mod",
"mods/voidmulti.sc2mod",
"mods/balancemulti.sc2mod",
"mods/starcoop/starcoop.sc2mod",
"campaigns/liberty.sc2campaign",
"campaigns/swarm.sc2campaign",
"campaigns/void.sc2campaign",
"campaigns/libertystory.sc2campaign",
"campaigns/swarmstory.sc2campaign",
"campaigns/voidstory.sc2campaign"
],
"default": "mods/liberty.sc2mod",
"markdownDescription": "Fallback mod to use whenever dependency chain cannot be determined automatically from project's workspace."
},
"sc2galaxy.archivePath": {
"scope": "window",
"type": "string",
"default": null,
"markdownDescription": "Path (relative or absolute) to an active document (SC2Map/SC2Mod) within the workspace. Active document will dictate what other dependencies and resources will be loaded. This field is optional for non-complex workspaces, such as the ones with a single `.sc2map` in it."
},
"sc2galaxy.dataCatalog.enabled": {
"scope": "window",
"type": "boolean",
"default": true,
"markdownDescription": "Consider XML data catalog during indexing."
},
"sc2galaxy.metadata.loadLevel": {
"scope": "window",
"type": "string",
"enum": [
"None",
"Core",
"Builtin",
"Default"
],
"enumDescriptions": [
"Do not load any metadata.",
"Load limit to native library and other data from `core.sc2mod`.",
"Load limit to builtin dependencies of an active docoument.",
"Load limit to all dependencies of an active document."
],
"default": "Default",
"markdownDescription": "Consider SC2Editor's Triggers during indexing"
},
"sc2galaxy.metadata.localization": {
"scope": "window",
"type": "string",
"enum": [
"enUS",
"deDE",
"esES",
"frFR",
"ruRU",
"koKR",
"zhCN",
"zhTW",
"ptBR",
"plPL",
"esMX",
"itIT"
],
"default": "enUS",
"markdownDescription": "Localization to use for documentation. **Only `enUS` files are bundled with the extension.** In order to use different localization, you need to extract necessary game files to a custom directory, configured in `sc2galaxy.dataPath`."
},
"sc2galaxy.s2mod.sources": {
"scope": "window",
"type": "array",
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "Directories containing SC2Mod dependencies. List will be resolved in the given order. It is advised to provide path to SC2 installation directory. **Note**: do not include `mods` folder within the path, because it's already included within name of a dependency."
},
"sc2galaxy.s2mod.overrides": {
"scope": "window",
"type": "object",
"markdownDescription": "Local overrides of SC2Mod archives. `{\"mods/my-mod.sc2mod\": \"absolute or workspace relative path\"}`."
},
"sc2galaxy.s2mod.extra": {
"scope": "window",
"type": "object",
"markdownDescription": "Extra dependencies which should be indexed. `{\"mods/my-mod.sc2mod\": \"absolute or workspace relative path\"}`."
},
"sc2galaxy.documentUpdateDelay": {
"scope": "window",
"type": "number",
"default": 100,
"minimum": 1,
"markdownDescription": "Minimum idle time (ms) required before reindexing dirty files."
},
"sc2galaxy.documentDiagnosticsDelay": {
"scope": "window",
"type": [
"number",
"boolean"
],
"default": 400,
"minimum": 0,
"markdownDescription": "Minimum idle time (ms) required before providing code diagnostics for dirty files (value from `documentUpdateDelay` is contributed). Use `false` to disable - in which case diagnostics will be provided only on save."
},
"sc2galaxy.completion.functionExpand": {
"scope": "resource",
"type": "string",
"enum": [
"None",
"Parenthesis",
"ArgumentsNull",
"ArgumentsDefault"
],
"enumDescriptions": [
"Feature disabled.",
"Expand to `func()`.",
"Expand and placehold all parameters using `null` like values (`0`, `false` etc.), applicable to a given type of parameter.",
"Expand and placehold all parameters using default values from trigger libraries metadata (i.e. `UnitCreate(0, null, c_unitCreateConstruct, 1, null, 270.0)`). If function isn't part of any trigger library, the behavior will fallback to `ArgumentsNull`."
],
"default": "None",
"markdownDescription": "[Completion] Describes the behavior of expanding a function when suggestion from code completions is accepted."
},
"sc2galaxy.references.currentWorkspaceOnly": {
"scope": "window",
"type": "boolean",
"default": false,
"markdownDescription": "[References] Search only within files from current workspace."
}
}
},
"languages": [
{
"id": "galaxy",
"aliases": [
"SC2 Galaxy Script",
"galaxy"
],
"extensions": [
".galaxy"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "galaxy",
"scopeName": "source.galaxy",
"path": "./syntaxes/galaxy.json"
}
],
"snippets": [
{
"language": "galaxy",
"path": "./snippets/general.json"
}
],
"commands": [
{
"command": "s2galaxy.verifyScript",
"title": "Verify script",
"category": "SC2 Galaxy"
}
],
"menus": {
"explorer/context": [
{
"command": "s2galaxy.verifyScript",
"when": "resourceLangId == galaxy"
}
],
"commandPalette": [
{
"command": "s2galaxy.verifyScript",
"when": "resourceLangId == galaxy"
}
]
}
},
"scripts": {
"build": "tsc -p ./",
"build:watch": "tsc -watch -p ./",
"vscode:prepublish": "tsc -p ./",
"test": "node ./node_modules/vscode/bin/test"
},
"dependencies": {
"path": "^0.12.7",
"plaxtony": "1.10.5",
"vscode-languageclient": "6.2.0-next.2"
},
"devDependencies": {
"@types/node": "^14.14.31",
"@types/vscode": "~1.64.0",
"typescript": "^3.5.3"
},
"__metadata": {
"id": "1e8db834-5c91-4e2f-93e8-642fb1faa3f6",
"publisherDisplayName": "Talv",
"publisherId": "60b06097-c0b9-440b-aa23-09911f15089c"
}
}