This commit is contained in:
dutchie031
2026-04-06 01:03:52 +02:00
parent 299b61a497
commit aa0bc83c32
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
"configuration": {
"title": "Dutchies DCS Scripting Tools Settings",
"properties": {
"dutchiesDcsScriptingTools.compileAt" : {
"dutchies-dcs-scripting-tools.compileAt" : {
"type": "string",
"enum": ["onSave", "onCompileCommand"],
"default": "onCompileCommand",
@@ -12,9 +12,13 @@ let pluginPath : string | undefined;
const logger = new Logger();
const extensionName = 'dutchies-dcs-scripting-tools';
// This method is called when your extension is activated
// Your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {
pluginPath = context.asAbsolutePath('lua-addons');
vscode.commands.registerCommand('dutchies-dcs-scripting-tools.enable', () => {
@@ -43,7 +47,6 @@ export function activate(context: vscode.ExtensionContext) {
vscode.window.showErrorMessage('Error compiling Lua scripts: ' + (err as Error).message);
}
});
}
// This method is called when your extension is deactivated