• Creates an annotated insert text edit.

    Parameters

    • position: Position

      The position to insert the text at.

    • newText: string

      The text to be inserted.

    • annotation: string

      The annotation.

    Returns AnnotatedTextEdit