# Julia Extension Stuck "Formatting..."

**URL:** <https://discourse.julialang.org/t/julia-extension-stuck-formatting/117744>\
**Category:** VS Code\
**Created:** [August 1, 2024, 8:39pm UTC](https://discourse.julialang.org/t/julia-extension-stuck-formatting/117744 "2024-08-01T20:39:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [August 1, 2024, 8:39pm UTC](https://discourse.julialang.org/t/julia-extension-stuck-formatting/117744/1 "2024-08-01T20:39:32Z")

</div>

After updating to 1.10.4, I’m getting a behavior where the Julia extension says it’s “Formatting…” in the bottom corner, but my file isn’t changing. It hangs this way the whole time I’m using VSCode. Additionally, sending code to the terminal is extremely slow (I’m wondering if the extension is busy “formatting” maybe?).

I don’t see anything weird in the output for the Julia Formatter. Just:

```julia
Initialized Julia Formatter extension
Running Julia with args: ["--threads=auto","--startup-file=no","--compile=min","-e","using JuliaFormatter\nJuliaFormatter.valid_for_in_op(s::String) = s ∈ split(raw\"\"\" = ∈ \"\"\")\nconst throw_parse_error(f, p) =\np.head == :toplevel && for (i, x) ∈ enumerate(p.args)\nx isa Expr && x.head ∈ (:error, :incomplete) || continue\nl = p.args[i-1]\n@static if VERSION < v\"1.10\"\ni = replace(join(x.args, \", \"), '\"' => '`')\ne = \"ParseError:\n$l\n\" .* x.args\nelse\ni = x.args[1].detail.diagnostics[1].message\ne = sprint.(showerror, x.args)\nend\nn = l.line\nprintln.(e .* \"\n\")\nthrow(Meta.ParseError(\"$f:$n: $i\"))\nend\nconst text, path = read(stdin, String), strip(raw\"\"\" \"\"\")\nthrow_parse_error(path, Meta.parseall(text, filename = basename(path)))\nprint(format_text(text; style=DefaultStyle(), indent=4, margin=256, always_for_in=true, for_in_replacement=\"∈\", whitespace_typedefs=true, import_to_using=true, whitespace_in_kwargs=true, align_struct_field=true, align_assignment=true, align_conditional=true, align_pair_arrow=true, normalize_line_endings=\"unix\", align_matrix=true, join_lines_based_on_source=true, indent_submodule=true, surround_whereop_typeparameters=false, yas_style_nesting=true))\n"]

```

Switching to the last version of the extension, restarting the language server, and trying to manually kick of “Format Document” did not make it go away.
