rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.05k stars 1.56k forks source link

[VSCode] Go to definition does not work over Remote - Tunnel #17566

Open AaronJThompson opened 1 month ago

AaronJThompson commented 1 month ago

rust-analyzer version: 0.3.2029-standalone rustc version: rustc 1.81.0-nightly (though this issue persists over rustc versions)

editor or extension: VSCode

code snippet to reproduce: Any code so far

When using Go To Definition over VSCode Remote Tunneling, the loading bar will hang and eventually time out. However, clicking Doc type links will always works. I have opened the same workspace on the target machine's vscode directly and Go To Definition works as expected

davidbarsky commented 1 month ago

This isn't enough information for us to reproduce, unfortunately. Can you share what the output of "rust-analyzer: Status" is? You get type get that by the command palette and typing "rust-analyzer: Status".