Vshaxe 2.21.0 released (HXML completion)

We just released :vshaxe: 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:

image

File System Completion

(enabled for any compiler argument that wants a file path)

image

Library Name Completion

Listing all libraries available in the project:

image

(with the lix vscode extension installed, this properly respects the project’s haxe_libraries)

Hover Hints

image


There’s also a new feature unrelated to HXML: array / map / regex literal code generation:

20 Likes

The compiler define completion is especially great, no more typos and wondering why it doesn’t work, awesome :tada:

2 Likes

I think adding ../ to the folder list would make this feature more complete.

2 Likes

@RedHeadEatBread Makes sense, added. :slight_smile:

2 Likes