Interface IEditorContribution

Expand description

An editor contribution that gets created every time a new editor gets created and gets disposed when the editor gets disposed.

interface IEditorContribution {
    dispose(): void;
    restoreViewState?(state: unknown): void;
    saveViewState?(): unknown;
}

Methods§

§

dispose(): void

Dispose this contribution.

§

restoreViewState?(state: unknown): void

Restore view state.

§

saveViewState?(): unknown

Store view state.