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

    Implements

    • CompletionItem
    Index

    Constructors

    Properties

    detail: string

    A human-readable string with additional information about this item, like type or symbol information.

    documentation?: IMarkdownString

    A human-readable string that represents a doc-comment.

    insertText: string

    A string or snippet that should be inserted in a document when selecting this completion.

    insertTextRules: InsertAsSnippet = monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet

    Additional rules (as bitmask) that should be applied when inserting this completion.

    kind: Snippet = monaco.languages.CompletionItemKind.Snippet

    The kind of this completion item. Based on the kind an icon is chosen by the editor.

    label: string

    The label of this completion item. By default this is also the text that is inserted when selecting this completion.

    noAutoAccept: true
    range: Range
    resolved: boolean = false
    snippet: Snippet
    sortText: string

    A string that should be used when comparing this item with other items. When falsy the CompletionItem.label label is used.

    Methods