Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IInlineSuggestOptions

Index

Properties

Properties

enabled?: boolean

Enable or disable the rendering of automatic inline completions.

mode?: "prefix" | "subword" | "subwordSmart"

Configures the mode. Use prefix to only show ghost text if the text to replace is a prefix of the suggestion text. Use subword to only show ghost text if the replace text is a subword of the suggestion text. Use subwordSmart to only show ghost text if the replace text is a subword of the suggestion text, but the subword must start after the cursor position. Defaults to prefix.