autocomplete

abstract fun autocomplete(begin: String, args: List<String>): Iterable<String>

Autocompletion for a parameter

For example for .value Scaffold Mode G, this function would be called with

  • begin = "G"

  • args = ["Scaffold", "Mode", "G"]

Return

suggestions for the full parameter name

Parameters

begin

the current text of the autocompleted parameter

args

all current arguments of the command