JuliaEditorSupport / JuliaEditorSupport/zed-julia

Language server doesn't work: `server shut down`

Open
#4 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

external:lsp
Dominant language
Rust
Stars
121
Forks
19
Avg merge
13h 44m
Merged PRs (30d)
7

Description

I am on Zed 0.133.7 (622f0884d6e364deacdf31767632b29a5d216201). The extension version is v0.1.1

Apart from the syntax highlighting nothings work for me. Go to definition does nothing. All variables inside functions report "Julia: Missing reference: ", etc.

The following is a subset of the logs. (many more lines with identical error messages are present)

2024-05-21T13:48:38+02:00 [WARN] Generic lsp request to julia failed: server shut down
2024-05-21T13:48:38+02:00 [ERROR] crates/project/src/project.rs:6949: server shut down
2024-05-21T13:48:39+02:00 [ERROR] crates/editor/src/editor.rs:8417: failed to format via language server

Caused by:
server shut down
2024-05-21T13:48:39+02:00 [ERROR] crates/project/src/project.rs:2710: sending into a closed channel

I have also installed the Julia Language Server (https://github.com/julia-vscode/LanguageServer.jl)

Are there any steps I have not followed here or could anyone provide me with "installation instructions" or the like?

Thanks in advance,
whiterock

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported Zed and extension versions, the Julia Language Server installation, and the log locations crates/project/src/project.rs and crates/editor/src/editor.rs. Reproduce the server-shutdown failure and determine whether installation instructions or the integration need a change; done means Julia language-server features work without shutdown errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.