-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I've been getting the following error from VSCode 1.103.2 when trying to format with the latest version:
ERROR: ArgumentError: Package JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899] is required but does not seem to be installed:
The following is the stacktrace from the plugin output:
Initialized Julia Formatter extension
Running Julia with args: ["--threads=auto","--startup-file=no","--compile=min","--project=@vscode-julia-format","-e","using JuliaFormatter\nconst 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\"\"\" \"\"\")\nparse_error(path, Meta.parseall(text, filename = basename(path)))\nprint(format_text(text; style=SciMLStyle(), yas_style_nesting=true, whitespace_ops_in_indices=true, whitespace_typedefs=true, whitespace_in_kwargs=true))\n"]
Returned: exit code 1
ERROR: ArgumentError: Package JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels