Interface ISuggestOptions
Expand description
interface ISuggestOptions {
filterGraceful?: boolean;
insertMode?: "insert" | "replace";
localityBonus?: boolean;
matchOnWordStartOnly?: boolean;
preview?: boolean;
previewMode?: "prefix" | "subword" | "subwordSmart";
selectionMode?:
| "always"
| "never"
| "whenTriggerCharacter"
| "whenQuickSuggestion";
shareSuggestSelections?: boolean;
showClasses?: boolean;
showColors?: boolean;
showConstants?: boolean;
showConstructors?: boolean;
showDeprecated?: boolean;
showEnumMembers?: boolean;
showEnums?: boolean;
showEvents?: boolean;
showFields?: boolean;
showFiles?: boolean;
showFolders?: boolean;
showFunctions?: boolean;
showIcons?: boolean;
showInlineDetails?: boolean;
showInterfaces?: boolean;
showIssues?: boolean;
showKeywords?: boolean;
showMethods?: boolean;
showModules?: boolean;
showOperators?: boolean;
showProperties?: boolean;
showReferences?: boolean;
showSnippets?: boolean;
showStatusBar?: boolean;
showStructs?: boolean;
showTypeParameters?: boolean;
showUnits?: boolean;
showUsers?: boolean;
showValues?: boolean;
showVariables?: boolean;
showWords?: boolean;
snippetsPreventQuickSuggestions?: boolean;
}Properties§
filter Graceful?: booleanEnable graceful matching. Defaults to true.
insert Mode?: "insert" | "replace"Overwrite word ends on accept. Default to false.
locality Bonus?: booleanFavors words that appear close to the cursor.
match On Word Start Only?: booleanControls whether suggestions allow matches in the middle of the word instead of only at the beginning
preview?: booleanEnable or disable the rendering of the suggestion preview.
preview Mode?: "prefix" | "subword" | "subwordSmart"Configures the mode of the preview.
selection Mode?:
| "always"
| "never"
| "whenTriggerCharacter"
| "whenQuickSuggestion"Select suggestions when triggered via quick suggest or trigger characters
Enable using global storage for remembering suggestions.
show Classes?: booleanShow class-suggestions.
show Colors?: booleanShow color-suggestions.
show Constants?: booleanShow constant-suggestions.
show Constructors?: booleanShow constructor-suggestions.
show Deprecated?: booleanShow deprecated-suggestions.
show Enum Members?: booleanShow enumMember-suggestions.
show Enums?: booleanShow enum-suggestions.
show Events?: booleanShow event-suggestions.
show Fields?: booleanShow field-suggestions.
show Files?: booleanShow file-suggestions.
show Folders?: booleanShow folder-suggestions.
show Functions?: booleanShow function-suggestions.
show Icons?: booleanEnable or disable icons in suggestions. Defaults to true.
show Inline Details?: booleanShow details inline with the label. Defaults to true.
show Interfaces?: booleanShow interface-suggestions.
show Issues?: booleanShow issue-suggestions.
show Keywords?: booleanShow keyword-suggestions.
show Methods?: booleanShow method-suggestions.
show Modules?: booleanShow module-suggestions.
show Operators?: booleanShow operator-suggestions.
show Properties?: booleanShow property-suggestions.
show References?: booleanShow reference-suggestions.
show Snippets?: booleanShow snippet-suggestions.
show Status Bar?: booleanEnable or disable the suggest status bar.
show Structs?: booleanShow struct-suggestions.
show Type Parameters?: booleanShow typeParameter-suggestions.
show Units?: booleanShow unit-suggestions.
show Users?: booleanShow user-suggestions.
show Values?: booleanShow value-suggestions.
show Variables?: booleanShow variable-suggestions.
show Words?: booleanShow text-suggestions.
snippets Prevent Quick Suggestions?: booleanPrevent quick suggestions when a snippet is active. Defaults to true.
Configuration options for editor suggest widget