Skip to content

workspace symlink causes error #3691

Description

@aentity

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 foo which is symlink:

/home/me/foo -> /home/me/projects/foo

User opening up /home/me/foo/src/lib.rs will cause error.

Workaround is open real path, but rust-analyzer should just follow symlink if possible (or change error message, as it is misleading).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-hardS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions