This commit is contained in:
ex61wi
2026-04-06 20:59:36 +02:00
parent aa0bc83c32
commit 3d9ea1f24e
6 changed files with 107 additions and 28 deletions
+28 -3
View File
@@ -19,18 +19,38 @@
"categories": [
"Other"
],
"activationEvents": [],
"activationEvents": [
"onLanguage:lua",
"workspaceContains:**/*.lua"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Dutchies DCS Scripting Tools Settings",
"title": "Dutchies DCS Tools",
"type" : "object",
"properties": {
"dutchies-dcs-scripting-tools.dcsTypes": {
"type": "boolean",
"default": true,
"description": "Enable or disable DCS Types (adds types for DCS functions and objects)"
},
"dutchies-dcs-scripting-tools.spearheadTypes": {
"type": "boolean",
"default": false,
"description": "(Coming Soon) Enable or disable Spearhead Types (requires DCS Types to be enabled)"
},
"dutchies-dcs-scripting-tools.compileAt" : {
"type": "string",
"enum": ["onSave", "onCompileCommand"],
"default": "onCompileCommand",
"description": "When to compile the Lua scripts"
"description": "When to compile the Lua script"
},
"dutchies-dcs-scripting-tools.includeDevelopmentScript": {
"type": "boolean",
"default": false,
"description": "Adds an additional script. This can be referenced from DCS through doScriptFile. This will then execute the compiles script. This way you don't have to reinsert the script on each change, but can just hit 'restart'."
}
}
},
"grammars": [
@@ -41,6 +61,11 @@
}
],
"commands": [
{
"command": "dutchies-dcs-scripting-tools.openSettings",
"title": "Open Settings",
"category": "Dutchies DCS Tools"
},
{
"command": "dutchies-dcs-scripting-tools.enable",
"title": "Enable",