Theia API Documentation v1.77.0
    Preparing search index...

    Tracks which side panel items are hidden from the side bar. A hidden item keeps its widget attached: its view still opens through commands and its tab shows while it is the current one. Items are identified by the id of the widget that owns the tab.

    interface SidePanelItemVisibility {
        onDidChange: Event<string>;
        onDidReset: Event<void>;
        ready: Promise<void>;
        isHidden(widgetId: string): boolean;
        reset(): void;
        setHidden(widgetId: string, hidden: boolean): void;
    }

    Implemented by

    Index
    onDidChange: Event<string>

    Fires with the id of the widget whose hidden state the user changed.

    onDidReset: Event<void>

    Fires when the user's choices are discarded and every item falls back to its default.

    ready: Promise<void>

    Resolves once the user's stored choices are loaded; until then every item has its default state.