Interface IEditorContribution

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): void;
    saveViewState?(): any;
}

Methods

  • Dispose this contribution.

    Returns void

  • Restore view state.

    Parameters

    • state: any

    Returns void

  • Store view state.

    Returns any