diff --git a/src/extension.ts b/src/extension.ts index de59d9568..7ba1d2a68 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -24,6 +24,7 @@ import { ProfilesView } from "./views/ProfilesView"; import { HelpView } from "./views/helpView"; import IFSBrowser from "./views/ifsBrowser"; import ObjectBrowser from "./views/objectBrowser"; +import { Tools } from "./api/Tools"; import { DeployTools } from "./api/local/deployTools"; export async function activate(context: ExtensionContext): Promise { @@ -113,7 +114,7 @@ export async function activate(context: ExtensionContext): Promise ]); }); - return { instance, customUI: () => new CustomUI(), deployTools: DeployTools, evfeventParser: parseErrors }; + return { instance, customUI: () => new CustomUI(), deployTools: DeployTools, evfeventParser: parseErrors, tools: Tools }; } // this method is called when your extension is deactivated diff --git a/src/typings.ts b/src/typings.ts index 586ef4d1f..1e440cd9d 100644 --- a/src/typings.ts +++ b/src/typings.ts @@ -2,13 +2,15 @@ import { WorkspaceFolder } from "vscode"; import Instance from "./api/Instance"; import { Ignore } from 'ignore' import { CustomUI } from "./api/CustomUI"; +import { Tools } from "./api/Tools"; import { DeployTools } from "./api/local/deployTools"; export interface CodeForIBMi { instance: Instance, customUI: () => CustomUI, deployTools: typeof DeployTools, - evfeventParser: (lines: string[]) => Map + evfeventParser: (lines: string[]) => Map, + tools: typeof Tools } export type DeploymentMethod = "all" | "staged" | "unstaged" | "changed" | "compare";