rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.19k stars 1.59k forks source link

Workspace does not automatically reload when a package is added to a workspace crate #16683

Open demosdemon opened 7 months ago

demosdemon commented 7 months ago

rust-analyzer version: rust-analyzer version: 0.3.1860-standalone (5346002d0 2024-02-25)

rustc version: rustc 1.78.0-nightly (6672c16af 2024-02-17)

relevant settings:

steps to reproduce:

The bug report for #16550 made me realize #10442 is likely related. RA should always check for Cargo.tomls represented by the workspace members regardless of how deep they are in the tree.

alibektas commented 7 months ago

@rustbot claim

ashaffah commented 7 months ago

i have the same issues, i think need something like autoDiscoverWorkspace