-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
rust-analyzer doesn't work most of the time on 23.03 #6505
Comments
Just tried this out on 23.03, no issues. Followed full reproduction steps and the expected result is what I receive. I know this doesnt resolve your issue, but it does seem to be an issue with your environment in some way |
I dug a little deeper and I found the following:
rust-analyzer works as expected on both 23.03 and 22.12 However
rust-analyzer only works on 22.12 On windows paths are not case sensitive so |
Accidentally closed. |
I have some ideas of what might be causing this. Could just post the logs for the reproduction case in the |
Broken |
Ah I think we are missing canonicalization in the workspace detection, I will look into a fix. |
helix 23.03 (5e75d33) works as expected. |
Summary
After updating to 23.03 today, I noticed that rust-analyzer doesn't work with helix most of the time, go-to definition, doc for item under cursor etc. rarely works, then you restart helix or do
:lsp-restart
and it works or doesn't. This is not the case with 22.12 which I have used daily since it was released. I tested again with the 22.12 and it works as expected each time.Reproduction Steps
hx src/main.rs
foo
I expected this to happen:
popup with the relevant info
Instead, this happened:
Nothing
Helix log
broken: helix 23.03.log
working helix 22.12.log
Platform
Windows 10 22H2 (19045.2728)
Terminal Emulator
Windows Terminal Version: 1.16.10261.0, wezterm 20221120-093910-0bf36e5a
Helix Version
helix 23.03 (3cf0372)
The text was updated successfully, but these errors were encountered: