Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LanguageServer in the background #16

Open
Pangoraw opened this issue Sep 3, 2024 · 0 comments
Open

Update LanguageServer in the background #16

Pangoraw opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Pangoraw
Copy link
Member

Pangoraw commented Sep 3, 2024

Updating the language server is not currently supported:

zed-julia/src/julia.rs

Lines 29 to 40 in adc31ce

// TODO: handle LanguageServer.jl updates.
r#"
import Pkg, UUIDs
ls_uuid = UUIDs.UUID("2b0e0bc5-e4fd-59b4-8912-456d1b03d8d7")
if !haskey(Pkg.dependencies(), ls_uuid)
Pkg.add(Pkg.PackageSpec(uuid=ls_uuid))
end
using LanguageServer
runserver()
"#

Users can of course update it themselves using @zed-julia global environment but I think it would be nice to launch a task in the background to try to update LS.jl.

@Pangoraw Pangoraw added the enhancement New feature or request label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant