-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
228 lines (228 loc) · 6.32 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
{
"name": "vscode-gsc",
"displayName": "GSC (Call of Duty)",
"description": "Language support for different GSC (game script) versions",
"version": "0.0.1",
"repository": "github:Muhlex/vscode-gsc",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"scripts": {
"vscode:prepublish": "npm run build && npm run compile",
"build": "ts-node src/build/index.ts",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"check": "biome check ./"
},
"main": "./out/extension",
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@types/glob": "^8.1.0",
"@types/node": "^20.12.7",
"@types/vscode": "^1.88.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"contributes": {
"languages": [
{
"id": "gsc-iw3",
"aliases": [
"Game Script (IW3)",
"GSC (IW3)"
],
"extensions": [
".gsc",
".csc"
],
"configuration": "./static/language-configuration.json",
"icon": {
"light": "./static/icons/gsc-iw3.svg",
"dark": "./static/icons/gsc-iw3.svg"
}
},
{
"id": "gsc-iw4",
"aliases": [
"Game Script (IW4)",
"GSC (IW4)"
],
"extensions": [
".gsc",
".csc"
],
"configuration": "./static/language-configuration.json",
"icon": {
"light": "./static/icons/gsc-iw4.svg",
"dark": "./static/icons/gsc-iw4.svg"
}
}
],
"grammars": [
{
"language": "gsc-iw3",
"scopeName": "source.gsc.iw3",
"path": "./out/grammars/gsc-iw3.json"
},
{
"language": "gsc-iw4",
"scopeName": "source.gsc.iw4",
"path": "./out/grammars/gsc-iw4.json"
}
],
"snippets": [
{
"language": "gsc-iw3",
"path": "./out/snippets/gsc-iw3.json"
},
{
"language": "gsc-iw4",
"path": "./out/snippets/gsc-iw4.json"
}
],
"configuration": {
"title": "GSC (Call of Duty)",
"properties": {
"GSC.intelliSense.enableKeywords": {
"markdownDescription": "Auto complete keywords (if, for, switch, ...) with IntelliSense.",
"scope": "language-overridable",
"type": "boolean",
"default": true
},
"GSC.intelliSense.enableCallables": {
"markdownDescription": "Auto complete inbuilt functions and methods with IntelliSense.",
"scope": "language-overridable",
"type": "boolean",
"default": true
},
"GSC.intelliSense.conciseMode": {
"markdownDescription": "Make documentation entries more concise (e. g. replacing tags such as *@param* or *@return* with concise emoji versions ✴️✳️ or ↩️).",
"scope": "language-overridable",
"type": "boolean",
"default": false
},
"GSC.intelliSense.foldersSorting": {
"markdownDescription": "Determine how to sort folders when auto completing file paths with IntelliSense.",
"scope": "language-overridable",
"type": "string",
"default": "inline",
"enum": [
"top",
"bottom",
"inline"
],
"enumItemLabels": [
"Folders before files",
"Folders after files",
"Alphabetical sorting"
],
"enumDescriptions": [
"Sort folders to the beginning of the list.",
"Sort folders to the end of the list (files first).",
"Always sort alphabetically (mix files and folders)"
]
},
"GSC.featureSets.IW3": {
"markdownDescription": "TODO: Don't make these language specific ones 'language-overridable'. Define sets of engine features to be used (by IntelliSense and semantic highlighting) for **Call of Duty 4: Modern Warfare**.",
"scope": "language-overridable",
"type": "object",
"properties": {
"common": {
"type": "boolean",
"description": "Base game features shared between SP & MP"
},
"sp": {
"type": "boolean",
"description": "Base game singleplayer-only features"
},
"mp": {
"type": "boolean",
"description": "Base game multiplayer-only features"
},
"unleashed": {
"type": "boolean",
"description": "Features available when targeting the CoD4: Unleashed Server mod"
}
},
"additionalProperties": false,
"default": {
"common": true,
"sp": false,
"mp": true,
"unleashed": false
}
},
"GSC.featureSets.IW4": {
"markdownDescription": "Define sets of engine features to be used (by IntelliSense and semantic highlighting) for **Call of Duty: Modern Warfare 2**.",
"scope": "language-overridable",
"type": "object",
"properties": {
"common": {
"type": "boolean",
"description": "Base game features shared between SP & MP"
},
"sp": {
"type": "boolean",
"description": "Base game singleplayer-only features"
},
"mp": {
"type": "boolean",
"description": "Base game multiplayer-only features"
},
"iw4x": {
"type": "boolean",
"description": "Features available when targeting the IW4X client"
}
},
"additionalProperties": false,
"default": {
"common": true,
"sp": false,
"mp": true,
"iw4x": false
}
},
"GSC.colors.enable": {
"markdownDescription": "Display color picker on applicable normalized vectors. (This can identify vectors as colors which are not intended as such.)",
"scope": "language-overridable",
"type": "boolean",
"default": true
},
"GSC.rootFolders.IW3": {
"markdownDescription": "TODO: Explain root differently cause I changed it. **Absolute** root directory paths where other GSC files are found (for path autocompletion). Select e. g. the location of the `\\maps\\` folder to allow autocompletion of `\\maps\\mp\\...`.",
"scope": "machine-overridable",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"format": "uri"
},
"default": []
},
"GSC.rootFolders.IW4": {
"markdownDescription": "**Absolute** root directory paths where other GSC files are found.\n\nFor IW4X you also want to add your `\\userraw\\scripts\\` folder here.",
"scope": "machine-overridable",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"format": "uri"
},
"default": []
}
}
},
"configurationDefaults": {
"[gsc-iw3]": {
"files.encoding": "windows1252"
},
"[gsc-iw4]": {
"files.encoding": "windows1252"
}
}
}
}