I had this working before, where I had, for example, rust/projects/chapter15/cycles/src/main.rs
, with lots of folders under projects
for each chapter of the book, and many of the chapters having multiple binary crates inside of them.
I just reorganized my rust folder to now have book
and project
folders, and rust analyzer no longer works unless I go add the path of each Cargo.toml manually, which is ridiculous.
As you can see (check the above link), there has never been any .vscode folder, and I have just been using cargo new
inside all of these chapter folders and going about my business with Rust Analyzer working how it should.
It’s broken now and I just cannot figure out how to get it back to automatically discovering everything, like it should.
Does anyone know how this can be done? Thank you
Yung Beef is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.