Options
All
  • Public
  • Public/Protected
  • All
Menu

Completion item object based off of LSP CompletionItem. Compared to the old kernel completions interface, this enhances the completions UI to support:

  • differentiation between inserted text and user facing text
  • documentation for each completion item to be displayed adjacently
  • deprecation styling
  • custom icons and other potential new features.

Hierarchy

  • ICompletionItem

Index

Properties

Optional deprecated

deprecated: boolean

Indicates if the item is deprecated.

Optional documentation

documentation: string

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

Optional icon

icon: LabIcon

LabIcon object for icon to be rendered with completion type.

Optional insertText

insertText: string

Completion to be inserted.

label

label: string

User facing completion. If insertText is not set, this will be inserted.

Optional type

type: string

Type of this completion item.

Generated using TypeDoc