Skip to content

EditorSuggestEx.trigger method

EditorSuggestEx › trigger

Unofficial

Triggers the registered suggestion providers at the cursor.

Signature:

trigger(editor: Editor, file: TFile | null, force: boolean): void

Parameters:

ParameterTypeDescription
editorEditorThe editor.
fileTFile | nullThe file being edited, or null for an editor with no file.
forcebooleanWhether to force the suggestion popup open.

Returns: void