VS Code API
    Preparing search index...

    Interface TextEditorDecorationType

    Represents a handle to a set of decorations sharing the same styling options in a text editor.

    To get an instance of a TextEditorDecorationType use createTextEditorDecorationType.

    interface TextEditorDecorationType {
        key: string;
        dispose(): void;
    }
    Index

    Properties

    Methods

    Properties

    key: string

    Internal representation of the handle.

    Methods

    • Remove this decoration type and all decorations on all text editors using it.

      Returns void