claude-code - 💡(How to fix) Fix [VSCode Extension] File:line references in chat panel are not clickable/navigable

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

When Claude Code references file paths with line numbers in the VSCode extension chat panel (e.g. orders.go:262 or src/app.ts:45-60), they appear as styled/underlined text but clicking them does nothing.

I work across multiple projects simultaneously and Claude frequently references specific files and line numbers during code analysis. Currently I have to manually open each file using Cmd+P and navigate to the line, which breaks my workflow every time Claude gives me a code reference.

Proposed Solution

Clicking a file:line reference in the Claude Code VSCode chat panel should open the file in the editor and scroll to the referenced line(s), using VSCode's built-in vscode.workspace.openTextDocument + vscode.window.showTextDocument APIs with the line range.

This already works in the VSCode Problems panel and terminal output — the same behavior is expected in the Claude Code chat panel.

Alternative Solutions

Currently working around it by using Cmd+P to search for the file, then Ctrl+G to jump to the line number manually. This is slow and interrupts the flow of reading Claude's analysis.

Priority

Critical - Blocking my work

Feature Category

Other

Use Case Example

  1. I ask Claude to analyze a Go file in my project
  2. Claude responds: "The issue is in orders.go at line 262 where..."
  3. I want to click that reference and land directly on line 262
  4. Instead, nothing happens and I have to navigate manually

Additional Context

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [VSCode Extension] File:line references in chat panel are not clickable/navigable