non-Jedi / eglot-jl

Wrapper for using Julia LanguageServer.jl with emacs eglot
Creative Commons Zero v1.0 Universal
62 stars 11 forks source link

Update to LanguageServer.jl 4.5.0 #46

Closed linwaytin closed 8 months ago

linwaytin commented 9 months ago

The version 4.5.0 is out. Shall we update to that version?

non-Jedi commented 9 months ago

Definitely should! I had heard rumors that SymbolServer was broken on 1.11 and required a new version released for compatibility. Been meaning to check that the new version is still compatible with 1.10.

linwaytin commented 9 months ago

It seems SymbolServer's issue with 1.11 has been fixed, according to the changelog here https://github.com/julia-vscode/SymbolServer.jl/releases/tag/v7.3.0

agreselin commented 9 months ago

Hi and thanks for developing the package :-) For me upgrading manually to LanguageServer.jl 4.5.0 cut Eglot's start up time by more than 50%. In particular it was wasting a lot of time on things like this:

[ Info: Downloading caches...
┌ Info: Couldn't retrieve cache file for LinearAlgebra.
└   exception = RequestError: HTTP/2 404 while requesting https://www.julia-vscode.org/symbolcache/store/v1/packages/L/LinearAlgebra_37e2e46d-f89d-539d-b4ee-838fcccc9c8e/vnothing_nothing.tar.gz

See https://discourse.julialang.org/t/is-it-normal-for-the-julia-language-server-to-take-20-s-to-start-up/109683 for the full description.