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

docsDirectory

the directory containing the documentation files to extract function data from

See also

for .xyz style completions

for .abc::xyz style completions

Constructors

Link copied to clipboard
constructor(docsDirectory: File)

Functions

Link copied to clipboard
open override fun getCompletionItems(params: CompletionParams, document: TextDocument): List<CompletionItem>

Generates a list of completion items.