autocomplete

open fun autocomplete(command: String, cursorPos: Int? = null): AutocompleteResults

Return

AutocompleteResults object that represents either a List of full autocompletion matches or a help string to print for the current input.

Parameters

command

Current input to run autocomplete on.

cursorPos

Active cursor position in the current command input.

Sources

jvm source
Link copied to clipboard