emacs-lsp / lsp-docker

Scripts and configurations to leverage lsp-mode in docker environment
GNU General Public License v3.0
241 stars 34 forks source link

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

Open korenhe opened 5 months ago

korenhe commented 5 months ago

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 commented 5 months ago

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

factyy commented 4 months ago

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