Restarting LSP after Cargo add kills the LSP #10630
Unanswered
Alacho2
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
Which commit exactly did you use (24.3 release or a more recent commit from master)? There was recently a regression and subsequent fix for restarting on master. Definitly can't reproduce |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Adding a crate to a project requires a restart of an LSP for the new changes to the be picked up. However, when the restart lsp command is issued, the stream is closed (says the log) and no auto-completion of suggestions are being made while typing (or when manually accessing). Exiting helix and starting it again causes everything to be picked up correctly. The status bar shows "Request timed out".
My project is Rust-based.
Reproduction Steps
I tried this:
hx .
in a rust foldercargo add
, for example for rand.I expected this to happen:
For helix to pick up a cargo change and correctly apply that change
Instead, this happened:
The LSP just dies until helix is restarted entirely.
Helix log
~/.cache/helix/helix.log
Platform
Macos
Terminal Emulator
Kitty
Installation Method
brew
Helix Version
24.3
Beta Was this translation helpful? Give feedback.
All reactions