Stream: t-compiler/rust-analyzer

Topic: VSCode multi-root workspaces

Cole Lawrence (May 11 2020 at 18:28, on Zulip):

I was wondering if anyone is successfully using multi-root workspaces where their workspace folders are not at the crate root folder...

I basically have the following folders opened as a VSCode workspace:

I focused on only opening these few folders so I can focus on the relevant code and not the excess crates and such. Everything works very well in that regard, but this means that I can't use terminal links during cargo build / check / run / etc because they all print out as web/webCrate/src/ which none of my terminals would be able to resolve... I opened an issue on VSCode without much luck

NOTE: crateRoot is my "Cargo Workspace Root"

Last update: Jul 28 2021 at 03:45UTC