VSCode formatter not working

acgc99
Fri, 13 Mar 2026 11:35:36 +0000
New to Julia

I made this function with a long signature:

function foo(Aₙₘ::AbstractMatrix{Float64}, Eₙₘ::AbstractMatrix{Float64}, JAₙₘ::AbstractMatrix{Float64}, JEₙₘ::AbstractMatrix{Float64}, mn::Int, dn::Int, Cₙ::AbstractVector{Float64}, xₙ::AbstractVector{Float64}, Δxₙ::AbstractVector{Float64})
    println("Hi")
end

I’m using VSCode with Julia extension. I’m still not very familiar with both, but if I do: Ctrl + Shift + P and then Format Document With ... > Julia, nothing happens.

These are my workspace settings:

{
    "julia.cellDelimiters": [
        "^#(\\s?)%%",
        "^#-"
    ],
    "editor.formatOnSave": false,
    "[julia]": {
        "editor.defaultFormatter": "julialang.language-julia"
    }
}

Any idea about what can I do? Thanks!

5 posts - 2 participants