make the azdata install url configurable (#7989)

* make the azdata install url configurable

* use settings without reloading

* comments
This commit is contained in:
Alan Ren
2019-10-24 14:57:17 -07:00
committed by Karl Burtram
parent 910dc32623
commit 10a7b47604
8 changed files with 73 additions and 28 deletions

View File

@@ -37,8 +37,7 @@ export abstract class ToolBase implements ITool {
abstract type: ToolType;
abstract homePage: string;
abstract autoInstallSupported: boolean;
abstract readonly allInstallationCommands: Map<OsType, Command[]>;
protected abstract readonly allInstallationCommands: Map<OsType, Command[]>;
protected abstract getVersionFromOutput(output: string): SemVer | undefined;
protected readonly _onDidUpdateData = new vscode.EventEmitter<ITool>();
protected readonly uninstallCommand?: string;