FunctionParameterAllowedValuesCompletionSupplier

Provides completion items for fixed allowed values for a function parameter, if applicable. For example, let | be the cursor position in the text, .row alignment:{| will provide allowed values for the alignment parameter of the row function.

This works for both named and positional arguments.

Constructors

constructor(docs: DocsIndexSource)

Functions

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

Generates a list of completion items.