ChainedFunctionNameCompletionSupplier

Provides completion items for chained function names in function calls by scanning documentation files.

Let | be the cursor position in the text, this supplier provides completions for:

  • .function::|

  • .function::func|

This supplier is proxied by FunctionNameCompletionSupplier.

Parameters

docs

the source of the documentation index to extract function data from

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.