Interface IInlineSuggestOptions
interface IInlineSuggestOptions {
enabled?: boolean;
fontFamily?: string;
keepOnBlur?: boolean;
minShowDelay?: number;
mode?: "prefix" | "subword" | "subwordSmart";
showToolbar?: "always" | "never" | "onHover";
suppressInSnippetMode?: boolean;
suppressSuggestions?: boolean;
syntaxHighlightingEnabled?: boolean;
}Properties§
§§§§
enabled?: boolean§
font Family?: stringFont family for inline suggestions.
keep On Blur?: booleanDoes not clear active inline suggestions when the editor loses focus.
min Show Delay?: number§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.
show Toolbar?: "always" | "never" | "onHover"§suppress In Snippet Mode?: boolean§suppress Suggestions?: boolean§syntax Highlighting Enabled?: boolean
Enable or disable the rendering of automatic inline completions.