wip
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
"configuration": {
|
"configuration": {
|
||||||
"title": "Dutchies DCS Scripting Tools Settings",
|
"title": "Dutchies DCS Scripting Tools Settings",
|
||||||
"properties": {
|
"properties": {
|
||||||
"dutchiesDcsScriptingTools.compileAt" : {
|
"dutchies-dcs-scripting-tools.compileAt" : {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["onSave", "onCompileCommand"],
|
"enum": ["onSave", "onCompileCommand"],
|
||||||
"default": "onCompileCommand",
|
"default": "onCompileCommand",
|
||||||
|
|||||||
@@ -12,9 +12,13 @@ let pluginPath : string | undefined;
|
|||||||
|
|
||||||
const logger = new Logger();
|
const logger = new Logger();
|
||||||
|
|
||||||
|
const extensionName = 'dutchies-dcs-scripting-tools';
|
||||||
|
|
||||||
// This method is called when your extension is activated
|
// This method is called when your extension is activated
|
||||||
// Your extension is activated the very first time the command is executed
|
// Your extension is activated the very first time the command is executed
|
||||||
export function activate(context: vscode.ExtensionContext) {
|
export function activate(context: vscode.ExtensionContext) {
|
||||||
|
|
||||||
|
|
||||||
pluginPath = context.asAbsolutePath('lua-addons');
|
pluginPath = context.asAbsolutePath('lua-addons');
|
||||||
|
|
||||||
vscode.commands.registerCommand('dutchies-dcs-scripting-tools.enable', () => {
|
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);
|
vscode.window.showErrorMessage('Error compiling Lua scripts: ' + (err as Error).message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method is called when your extension is deactivated
|
// This method is called when your extension is deactivated
|
||||||
|
|||||||
Reference in New Issue
Block a user