Skip to content

EditorSuggestEx.setCurrentSuggest method

EditorSuggestEx › setCurrentSuggest

Unofficial

Sets the active suggestion provider, closing the previous one.

Signature:

setCurrentSuggest(suggest: EditorSuggest<unknown> | null): void

Parameters:

ParameterTypeDescription
suggestEditorSuggest<unknown> | nullThe provider to activate, or null to clear.

Returns: void