Theia API Documentation v1.77.0
    Preparing search index...
    interface QuickInputService {
        backButton: QuickInputButton;
        onHide: Event<void>;
        onShow: Event<void>;
        previousFocusElement?: HTMLElement;
        createInputBox(): InputBox;
        createQuickPick<T extends QuickPickItem>(): QuickPick<T>;
        hide(): void;
        input(
            options?: InputOptions,
            token?: CancellationToken,
        ): Promise<string | undefined>;
        open(filter: string): void;
        pick<T extends QuickPickItem>(
            picks: QuickPickInput<T>[] | Promise<QuickPickInput<T>[]>,
            options?: PickOptions<T> & { canPickMany: true },
            token?: CancellationToken,
        ): Promise<T[] | undefined>;
        pick<T extends QuickPickItem>(
            picks: QuickPickInput<T>[] | Promise<QuickPickInput<T>[]>,
            options?: PickOptions<T> & { canPickMany: false },
            token?: CancellationToken,
        ): Promise<T | undefined>;
        pick<T extends QuickPickItem>(
            picks: QuickPickInput<T>[] | Promise<QuickPickInput<T>[]>,
            options?: Omit<PickOptions<T>, "canPickMany">,
            token?: CancellationToken,
        ): Promise<T | undefined>;
        showQuickPick<T extends QuickPickItem>(
            items: (QuickPickSeparator | T)[],
            options?: QuickPickOptions<T>,
        ): Promise<T | undefined>;
    }

    Implemented by

    Index
    backButton: QuickInputButton
    onHide: Event<void>
    onShow: Event<void>
    previousFocusElement?: HTMLElement

    The element that had focus when the quick input was shown, while the quick input is showing. Items whose state depends on context keys should be evaluated against this element rather than the quick input itself.