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

    A snippet edit represents an interactive edit that is performed by the editor.

    Note that a snippet edit can always be performed as a normal text edit. This will happen when no matching editor is open or when a workspace edit contains snippet edits for multiple files. In that case only those that match the active editor will be performed as snippet edits and the others as normal text edits.

    Implements

    Index

    Constructors

    Properties

    keepWhitespace?: boolean

    Whether the snippet edit should be applied with existing whitespace preserved.

    range: Range

    The range this edit applies to.

    snippet: SnippetString

    The snippet this edit will perform.

    Methods