FunctionParameterAllowedValuesCompletionSupplier
class FunctionParameterAllowedValuesCompletionSupplier(docsDirectory: File) : AbstractFunctionCompletionSupplier
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.
Functions
Link copied to clipboard
open override fun getCompletionItems(params: CompletionParams, document: TextDocument): List<CompletionItem>
Generates a list of completion items.