|
117 | 117 | "id": "fgd", |
118 | 118 | "configuration": "./lang-config-kv.json", |
119 | 119 | "aliases": [ |
120 | | - "FGD", |
| 120 | + "Valve FGD", |
121 | 121 | "Forge Game Data", |
122 | 122 | "Hammer Game Data" |
123 | 123 | ], |
|
129 | 129 | "id": "captions", |
130 | 130 | "configuration": "./lang-config-kv.json", |
131 | 131 | "aliases": [ |
132 | | - "Source Engine Captions", |
133 | | - "Source Engine Subtitles" |
| 132 | + "Valve Source Engine Captions", |
| 133 | + "Valve Source Engine Subtitles" |
134 | 134 | ], |
135 | 135 | "firstLine": "^\"?(?i)lang(?-i)\"?", |
136 | 136 | "filenamePatterns": [ |
|
142 | 142 | "id": "cfg", |
143 | 143 | "configuration": "./lang-config-kv.json", |
144 | 144 | "aliases": [ |
145 | | - "Source Engine Configuration", |
146 | | - "Source Engine Commands" |
| 145 | + "Valve Source Engine Configuration", |
| 146 | + "Valve Source Engine Commands" |
147 | 147 | ], |
148 | 148 | "extensions": [ |
149 | 149 | ".cfg" |
|
209 | 209 | { |
210 | 210 | "id": "fxc", |
211 | 211 | "aliases": [ |
212 | | - "FXC Shader" |
| 212 | + "Valve FXC Shader" |
213 | 213 | ], |
214 | 214 | "extensions": [ |
215 | 215 | ".fxc", |
|
297 | 297 | }, |
298 | 298 | { |
299 | 299 | "command": "kv.remember", |
300 | | - "title": "Remember file path as Valve KeyValue file", |
| 300 | + "title": "Remember this as KeyValue file", |
301 | 301 | "shortTitle": "Remember KeyValue File", |
302 | 302 | "category": "KeyValue", |
303 | 303 | "icon": { |
304 | | - "light": "./icons/start-light.svg", |
305 | | - "dark": "./icons/start-dark.svg" |
| 304 | + "light": "./icons/remember-kv-light.png", |
| 305 | + "dark": "./icons/remember-kv-dark.png" |
| 306 | + } |
| 307 | + }, |
| 308 | + { |
| 309 | + "command": "kv.forget", |
| 310 | + "title": "Forget this as KeyValue file", |
| 311 | + "shortTitle": "Forget KeyValue File", |
| 312 | + "category": "KeyValue", |
| 313 | + "icon": { |
| 314 | + "light": "./icons/forget-kv-light.png", |
| 315 | + "dark": "./icons/forget-kv-dark.png" |
306 | 316 | } |
307 | 317 | } |
308 | 318 | ], |
|
317 | 327 | "when": "resourceLangId == qc && resourceScheme == 'file'", |
318 | 328 | "command": "mdl.compile", |
319 | 329 | "group": "navigation" |
| 330 | + }, |
| 331 | + { |
| 332 | + "when": "sourceEngine.showKvForget && resourceScheme == 'file'", |
| 333 | + "command": "kv.forget", |
| 334 | + "group": "navigation" |
| 335 | + }, |
| 336 | + { |
| 337 | + "when": "sourceEngine.showKvRemember && resourceScheme == 'file'", |
| 338 | + "command": "kv.remember", |
| 339 | + "group": "navigation" |
320 | 340 | } |
321 | 341 | ] |
322 | 342 | }, |
|
397 | 417 | "type": "boolean", |
398 | 418 | "default": true, |
399 | 419 | "description": "Automatically use keyvalue file format for common file names like gameinfo.txt, subtitles_english.txt..." |
400 | | - }, |
401 | | - "sourceEngine.detectKeyvalueFiles.customRules": { |
402 | | - "type": "array", |
403 | | - "default": [], |
404 | | - "description": "Define custom rules to detect keyvalue files based on the file name" |
405 | | - }, |
406 | | - "sourceEngine.detectKeyvalueFiles.onlyUseCustomRules": { |
407 | | - "type": "boolean", |
408 | | - "default": false, |
409 | | - "description": "Disables all the common file name rules that come with the extension. Useful if some standard rule is causing problems and you would rather define them yourself" |
410 | 420 | } |
411 | 421 | } |
412 | 422 | }, |
|
0 commit comments