Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rust-analyzer] source path not mapping for lsp-lens commands #86

Open
korenhe opened this issue Feb 3, 2024 · 2 comments
Open

[rust-analyzer] source path not mapping for lsp-lens commands #86

korenhe opened this issue Feb 3, 2024 · 2 comments

Comments

@korenhe
Copy link

korenhe commented Feb 3, 2024

rust-analyzer with lsp-docker works well in my environment, but for functions with lens, it reports path not found, and the path is a 'destination-path' in docker, i think it may due to the source-destination mapping not handled in this case?

"No such directory: /workspace/xxxx"

this /workspace is a path in my docker container.

@factyy
Copy link
Collaborator

factyy commented Feb 3, 2024

Hi! It definitely looks like this is the case. I'll take a look in a few days

@factyy
Copy link
Collaborator

factyy commented Feb 29, 2024

Found out that the problem is a bit more complicated than anticipated

Probably support will be added as a separate feature, although I cannot guarantee anything about implementation timing. Let's keep this issue open for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants