# Autoformatting in VS Code extension

**URL:** <https://discourse.julialang.org/t/autoformatting-in-vs-code-extension/54544>\
**Category:** VS Code\
**Created:** [February 3, 2021, 4:48pm UTC](https://discourse.julialang.org/t/autoformatting-in-vs-code-extension/54544 "2021-02-03T16:48:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Post date:** [March 21, 2022, 7:35pm UTC](https://discourse.julialang.org/t/autoformatting-in-vs-code-extension/54544/6 "2022-03-21T19:35:44Z")

</div>

> [@ericphanson](#):
>
> IMO ideally someday the VSCode extension could switch over

Just to update this, the Julia VSCode extension now does use JuliaFormatter (since v1.5.0 of the extension). It’s configured by placing a [`.JuliaFormatter.toml` file](https://domluna.github.io/JuliaFormatter.jl/stable/config/) in the workspace, and run just by calling ”[format document](https://code.visualstudio.com/docs/editor/codebasics#_formatting)” in VSCode.

---

_[View the full topic](https://discourse.julialang.org/t/autoformatting-in-vs-code-extension/54544)._
