-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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, fails to load workspace #2732
Comments
I've gone through the helix codebase and there's no string matching That is - it appears that |
Ah, looking here, it appears that this is a rust-analyzer config option. Perhaps this will help:
|
Hi @sbromberger , thanks for having a look! |
this issue is also fixed by #5748 you can make a |
Summary
I am working a project that has got lots of different programming languages in it.
What's below is a simplification, but it's a basically a fully dockerized suite of services, so there's bash files, Dockerfiles, some python, etc..
. ├── ci-scripts │ ├── before_script.sh │ └── deploy_images.sh ├── docker-compose.yml └── workers ├── python │ └── example_consumer.py └── rust └── rabbitmq-consumer ├── Cargo.lock ├── Cargo.toml └── src └── main.rs
I am running helix by
cd
ing all the way torabbitmq-consumer
, and then runninghx src/main.rs
.Sadly, despite the health check passing fine for rust, I'm getting no help/errors/etc. when typing in a Rust source file.
I have installed
rust-analyzer
in a different place, since in working environment and I need this dev setup to work across multiple machines./job/comms/pipeline/dev/myuser/opt/bin/
is in myPATH
.Reproduction Steps
I tried this:
hx src/main.rs
I expected this to happen: the
rust-analyzer
worked and helped me with error reporting while typing in helix.Instead, this happened: nothing
Helix log
If I look at
~/.cache/helix/helix.log
, I see:~/.cache/helix/helix.log
I am not sure why it's looking for a
rust-project.json
file in/net/
. In my case,/net/
is a storage mount (using autofs) where my home folder is mounted (/net/homes
).Platform
CentOS Linux release 7.9.2009 (Core)
Terminal Emulator
iterm2 - but I'm ssh-ing to another machine
Helix Version
helix 22.05
The text was updated successfully, but these errors were encountered: