Skip to content

failed to load workspace in projects with Rust nested more than one directory deep #13048

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

Closed
ElykDeer opened this issue Aug 17, 2022 · 1 comment

Comments

@ElykDeer
Copy link

rust-lang.rust's default behavior allowed for the discovery of Rust projects nested at any depth in large projects.

Now that rust-analyzer is the default for Rust in VSCode, I no longer get any Rust integration in my IDE for folders nested more than one level deep.

The year is 2022, and I should not need to populate configuration files or change settings for my IDE to provide support for the language I'm using. I feel strongly enough about this to assert that rust-analyzer is unusable for my (and many others') day-to-day use case and consider using a different IDE with reasonable default behavior.

I see the linkedProjects workaround provided in #7268 as well as the performance considerations in #2533, but unfortunately I don't think that rust-analyzer is a viable replacement for rust-lang.rust until I can just:

  1. Open my project's root directory
  2. Have support for all the Rust code in my project

rust-analyzer version: rust-analyzer version: 0.3.1170-standalone (b6d59f2bb 2022-08-14)
rustc version: rustc 1.63.0 (4b91a6ea7 2022-08-08)
relevant settings: All default settings, fresh install. Using VSCode.

@flodiebold
Copy link
Member

Duplicate of #8622

@flodiebold flodiebold marked this as a duplicate of #8622 Aug 17, 2022
@flodiebold flodiebold closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants