[VSCode Extension] File:line references in chat panel are not clickable/navigable
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] 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
- I ask Claude to analyze a Go file in my project
- Claude responds: "The issue is in orders.go at line 262 where..."
- I want to click that reference and land directly on line 262
- Instead, nothing happens and I have to navigate manually
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗