interface PureGrammarTextSuggestion {
    description?: string;
    documentation?: DocumentationEntry;
    insertText: string;
    text: string;
}

Properties

description?: string

Brief description about the suggestion item to enable the users to quickly differentiate between one suggestions from another

documentation?: DocumentationEntry

Detailed documentation that explains/elaborates the suggestion item.

insertText: string

A string or snippet that should be inserted when selecting this suggestion.

NOTE: The snippet syntax follows that of monaco-editor See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets

text: string

The text label of the suggestion.