-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
workspace symlink causes error #3691
Copy link
Copy link
Closed
Labels
E-hardS-unactionableIssue requires feedback, design decisions or is blocked on other workIssue requires feedback, design decisions or is blocked on other work
Description
Activity
Metadata
Metadata
Assignees
Labels
E-hardS-unactionableIssue requires feedback, design decisions or is blocked on other workIssue requires feedback, design decisions or is blocked on other work
If the root workspace (maybe even regular single crate) is symlink, rust-analyzer reports error "Rust file outside current workspace is not supported yet".
E.g. if we have project
foowhich is symlink:User opening up
/home/me/foo/src/lib.rswill cause error.Workaround is open real path, but rust-analyzer should just follow symlink if possible (or change error message, as it is misleading).