# Julia code formatter / code beautifier

**URL:** <https://discourse.julialang.org/t/julia-code-formatter-code-beautifier/11485>\
**Category:** General Usage\
**Created:** [June 6, 2018, 7:48pm UTC](https://discourse.julialang.org/t/julia-code-formatter-code-beautifier/11485 "2018-06-06T19:48:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [August 4, 2018, 9:29pm UTC](https://discourse.julialang.org/t/julia-code-formatter-code-beautifier/11485/7 "2018-08-04T21:29:43Z")

</div>

So what should I do in VS code to

- automatically indent my code (if, for and while loops…)
- automatically add space to expressions such as `a=b+2` to `a = b + 2`

?

I haven’t found a clear explanation, even in this thread [(Auto)-formatting code? - #14 by Tony\_Gonzalez](https://discourse.julialang.org/t/auto-formatting-code/1611/14)

A Github bot which could create PR to reformat code could be a very nice feature to have.

---

_[View the full topic](https://discourse.julialang.org/t/julia-code-formatter-code-beautifier/11485)._
