interface ScmExt {
    $executeResourceCommand(sourceControlHandle, groupHandle, resourceHandle): Promise<void>;
    $onInputBoxValueChange(sourceControlHandle, message): Promise<void>;
    $provideOriginalResource(sourceControlHandle, uri, token): Promise<undefined | UriComponents>;
    $setSelectedSourceControl(selectedSourceControlHandle): Promise<void>;
    $validateInput(sourceControlHandle, value, cursorPosition): Promise<undefined | [string, number]>;
    createSourceControl(plugin, id, label, rootUri?): SourceControl;
    getLastInputBox(plugin): undefined | SourceControlInputBox;
}

Implemented by

Methods

  • Parameters

    • sourceControlHandle: number
    • value: string
    • cursorPosition: number

    Returns Promise<undefined | [string, number]>