rust-lang / rust-lang/rust-analyzer

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

Open
#17,566 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-support
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Go to Definition in VSCode Remote Tunneling with a workspace on the target machine, then compare it with opening that workspace directly in VSCode. Check the contrasting behavior of Doc type links and the loading timeout. Done means Go to Definition completes successfully over the tunnel.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.