Skip to content

FileSuggestManager.getSuggestionsAsync method

FileSuggestManager › getSuggestionsAsync

Unofficial

Get suggestions for current input text.

Signature:

getSuggestionsAsync(runner: Runnable, text: string): Promise<SearchResult[]>

Parameters:

Parameter Type Description
runner Runnable {@link Runnable} controlling the search lifecycle.
text string Search query text.

Returns: Promise<SearchResult[]>Matching suggestions.

Remarks:

Type is determined from text: e.g. [[Thi]] will give completions for files, [[Thi^]] for blocks, etc.