We just released 2.21.0, which adds code completion and hover support to HXML files. Editing HXML files no longer feels like working with plaintext! Here’s a feature overview:
Compiler Argument Completion
You will have to run haxe --help
a lot less often now:
Compiler Define Completion
You will also have to run haxe --help-defines
a lot less often!
For some defines, there’s known values:
File System Completion
(enabled for any compiler argument that wants a file path)
Library Name Completion
Listing all libraries available in the project:
(with the lix vscode extension installed, this properly respects the project’s haxe_libraries
)
Hover Hints
There’s also a new feature unrelated to HXML: array / map / regex literal code generation: