getCompletionItems

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

Generates a list of completion items.

Return

a list of completion items that can be suggested

Parameters

position

the position in the document the completion was requested at

document

the current document