export function activate()

in src/extension.ts [10:19]


export function activate(context: vscode.ExtensionContext) {
    TelemetryClient.sendEvent("extensionActivated");
    const welcomePage: WelcomePage = new WelcomePage(context);
    welcomePage.checkAndShow();
    const disposable = vscode.commands.registerCommand("azure-iot-tools.showWelcomePage", () => {
        TelemetryClient.sendEvent(Constants.ShowWelcomePageEvent, { trigger: "manual" });
        welcomePage.show();
    });
    context.subscriptions.push(disposable);
}