Stream: t-compiler/rust-analyzer

Topic: Workspace File Detection


Zac Pullar-Strecker (Oct 24 2020 at 03:43, on Zulip):

Is there a good way to determine which (cargo) workspace a definition/file belongs to? All of the existing stuff seems tied to the 'vfs paths are opaque handles' idea which is good until you actually need the path.

I need it for #6332 so I can find the correct target directory to look for local documentation in.

matklad (Oct 24 2020 at 09:07, on Zulip):

@Zac Pullar-Strecker see how handle_runnables work in handlers.rs

Last update: Jul 29 2021 at 08:45UTC