Haxe auto formatter

Is there any available ‘prettier like’ solution for Haxe? Either available as stand alone or in an IDE.

Thanks!
Stephane

1 Like

Something like that ? Rearrange Code not supported · Issue #574 · HaxeFoundation/intellij-haxe · GitHub

Elm has a nice auto-formatter included out-of-the-box. Not saying it should be included in the compiler, but it’d be nice to have an IDE-independent formatter for Haxe.

There is https://github.com/vshaxe/haxe-formatter, but afaik it’s not finished.

Thanks all for the answers

I’ve been working on building the haxe-formatter repo into a VSCode extension. It’s working in debug mode and looks really promising.

PR here: https://github.com/vshaxe/haxe-formatter/pull/1

5 Likes