# Haxe auto formatter

**URL:** <https://community.haxe.org/t/haxe-auto-formatter/313>\
**Category:** Haxe\
**Tags:** ide\
**Created:** [December 31, 2017, 12:26pm UTC](https://community.haxe.org/t/haxe-auto-formatter/313 "2017-12-31T12:26:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sledorze](https://community.haxe.org/user_avatar/community.haxe.org/sledorze/32/227_2.png) [@sledorze](https://community.haxe.org/u/sledorze)\
**Post date:** [December 31, 2017, 12:26pm UTC](https://community.haxe.org/t/haxe-auto-formatter/313/1 "2017-12-31T12:26:25Z")

</div>

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

Thanks!  
Stephane

---

<div class="post-metadata">

**Author:** ![damoebius](https://community.haxe.org/user_avatar/community.haxe.org/damoebius/32/73_2.png) [@damoebius](https://community.haxe.org/u/damoebius)\
**Post date:** [December 31, 2017, 7:07pm UTC](https://community.haxe.org/t/haxe-auto-formatter/313/2 "2017-12-31T19:07:08Z")

</div>

Something like that ? [Rearrange Code not supported · Issue #574 · HaxeFoundation/intellij-haxe · GitHub](https://github.com/HaxeFoundation/intellij-haxe/issues/574)

---

<div class="post-metadata">

**Author:** ![fullofcaffeine](https://community.haxe.org/user_avatar/community.haxe.org/fullofcaffeine/32/28_2.png) [@fullofcaffeine](https://community.haxe.org/u/fullofcaffeine)\
**Post date:** [December 31, 2017, 9:46pm UTC](https://community.haxe.org/t/haxe-auto-formatter/313/3 "2017-12-31T21:46:27Z")

</div>

`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.

---

<div class="post-metadata">

**Author:** ![ibilon](https://community.haxe.org/user_avatar/community.haxe.org/ibilon/32/13_2.png) [@ibilon](https://community.haxe.org/u/ibilon)\
**Post date:** [January 1, 2018, 9:02am UTC](https://community.haxe.org/t/haxe-auto-formatter/313/4 "2018-01-01T09:02:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sledorze](https://community.haxe.org/user_avatar/community.haxe.org/sledorze/32/227_2.png) [@sledorze](https://community.haxe.org/u/sledorze)\
**Post date:** [January 2, 2018, 12:18pm UTC](https://community.haxe.org/t/haxe-auto-formatter/313/5 "2018-01-02T12:18:49Z")

</div>

Thanks all for the answers

---

<div class="post-metadata">

**Author:** ![jasononeil](https://community.haxe.org/user_avatar/community.haxe.org/jasononeil/32/42_2.png) [@jasononeil](https://community.haxe.org/u/jasononeil)\
**Post date:** [June 13, 2018, 8:37am UTC](https://community.haxe.org/t/haxe-auto-formatter/313/6 "2018-06-13T08:37:24Z")

</div>

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](https://github.com/vshaxe/haxe-formatter/pull/1)
