Added Required logic if not found, and added better update logic
This commit is contained in:
@@ -17,7 +17,7 @@ export interface ICompilationLogger {
|
|||||||
writeLine(message: string): void;
|
writeLine(message: string): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { CompilationError };
|
export { CompilationError, CompilationErrorType };
|
||||||
|
|
||||||
class Metrics {
|
class Metrics {
|
||||||
public totalLinesRead : number = 0;
|
public totalLinesRead : number = 0;
|
||||||
|
|||||||
@@ -2,10 +2,9 @@
|
|||||||
// Import the module and reference it with the alias vscode in your code below
|
// Import the module and reference it with the alias vscode in your code below
|
||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import { ScriptCompiler, ScriptCompilerOptions, CompilationError, ICompilationLogger } from 'dcs-script-compiler';
|
import { ScriptCompiler, ScriptCompilerOptions, CompilationError, ICompilationLogger, CompilationErrorType } from 'dcs-script-compiler';
|
||||||
import { Logger } from './logger';
|
import { Logger } from './logger';
|
||||||
import * as luaAddonsManager from './lua-addons-manager';
|
import * as luaAddonsManager from './lua-addons-manager';
|
||||||
import { CompilationErrorType } from '../../compiler/src/CompilationError';
|
|
||||||
|
|
||||||
const luaWorkSpaceSettingKey = "Lua.workspace";
|
const luaWorkSpaceSettingKey = "Lua.workspace";
|
||||||
const librarySettingsKey = "library";
|
const librarySettingsKey = "library";
|
||||||
|
|||||||
Reference in New Issue
Block a user