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.