8.3.3 Call argument completion

Call argument completion is triggered after an opening parenthesis character ( to show the type of the function that is currently being called. It works for any function call as well as constructor calls:

classMain {publicstaticfunctionmain() {trace("Hello".split(| }}

If this file is saved to Main.hx, the completion can be invoked using the command haxe --display Main.hx@0. The output looks like this:

<type>delimiter : String -> Array<String></type>

IDEs can parse this to recognize that the called function requires one argument named delimiter of type String and returns an Array<String>.