AutocompletionFunction
AutocompletionFunction[...] represents a function to be applied to a string to generate possible completions.
Examples
Create an autocompletion function:
acf = Autocomplete[{"hello", "help", "world"}];
acf["hel"]
(* {"hello", "help"} *)Please visit the official Wolfram Language Reference for more details.