Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InlineCompletionContext

Provides information about the context in which an inline completion was requested.

Hierarchy

  • InlineCompletionContext

Index

Properties(2)

Readonly triggerKind

Describes how the inline completion was triggered.

Readonly selectedCompletionInfo

selectedCompletionInfo: undefined | SelectedCompletionInfo

Provides information about the currently selected item in the autocomplete widget if it is visible.

If set, provided inline completions must extend the text of the selected item and use the same range, otherwise they are not shown as preview. As an example, if the document text is console. and the selected item is .log replacing the . in the document, the inline completion must also replace . and start with .log, for example .log().

Inline completion providers are requested again whenever the selected item changes.

Generated by TypeDoc. Maintained by 紫升

Links: 搜外友链, 69中文网