FunctionNameCompletionSupplier

Provides completion items for function names in function calls by scanning documentation files. This supplier is proxied by com.quarkdown.lsp.completion.function.FunctionCompletionSupplier.

A name completion can occur:

  • At the beginning of a function call, e.g. .xyz.

  • In a function call chain, e.g. .abc::xyz.

Parameters

docs

the source of the documentation index to extract function data from

See also

for .xyz style completions

for .abc::xyz style completions

Constructors

Link copied to clipboard
constructor(docs: DocsIndexSource)

Functions

Link copied to clipboard
open override fun getCompletionItems(position: CursorPosition, document: TextDocument): List<Completion>

Generates a list of completion items.