VS Code extension language server crashing with Julia v1.12

When I have the release juliaup channel added, my Julia Language Server can’t start in VS Code. It gives this at the start of the output:

[ Info: Starting LS with Julia 1.12.0
  Activating project at `~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/environments/languageserver/fallback`
[ Info: Starting the Julia Language Server
Precompiling packages...
              ✗ Markdown
              ✗ REPL
              ✗ Pkg → REPLExt
              ✗ SymbolServer
              ✗ StaticLint
Info Given LanguageServer was explicitly requested, output will be shown live e[0K
e[0KERROR: LoadError: ArgumentError: Package JuliaSyntaxHighlighting [dc6e5ff7-fb65-4e79-a425-ec3bc9c03011] is required but does not seem to be installed:
e[0K - Run `Pkg.instantiate()` to install all recorded dependencies.
e[0K
...

In the ~/.vscode/extensions/julialang.language-julia-1.127.2/scripts/environments/languageserver/fallback environment I attempted to manually add JuliaSyntaxHighlighting, but this also failed:

(fallback) pkg> add JuliaSyntaxHighlighting
   Resolving package versions...
ERROR: expected package `JuliaSyntaxHighlighting [dc6e5ff7]` to be registered

For a workaround I’m just not going to have the release juliaup channel added, though I’d like to. Please let me know if there’s a fix for this.

FWIW: I’m also pinning the VS Code extension to 1.127.2, because (as discussed previously in Discourse) my unit tests usually hang when I use any newer version of the extension.

2 Likes

I’m not a VSCode dev so I can’t say for certain but I wouldn’t expect an old version of v the extension to work with a new version of Julia. Generally it has been my impression that work on the extension was required to support new Julia releases, so I’d expect that do be the same for 1.12.