Implementing IExtensionEditor

To make an Editor Extension, you must implement the IExtensionEditor interface in your extension's main class:

import { Extension } from "@teamsqlio/ts-extension-sdk/dist/source/Extension";
import { IExtensionEditor } from "@teamsqlio/ts-extension-sdk/dist/source/interfaces/groups/IExtensionEditor"
import * as path from "path";

export class TeamSQLExtension extends Extension implements IExtensionEditor {
    init() {
        let editor = this.getActiveEditor();
    }
}

-init(): void;

This method initializes your Editor Extension, and it is the only method you must implement.

results matching ""

    No results matching ""