Claude Code✓ Confirmed in official docsAdded Nov 24
How to send errors, failed tests and merge conflicts straight to chat in the Claude Code VS Code extension
The Claude Code VS Code extension 2.1.331 (November 23) adds menus that send errors and failures to the chat without copy and paste. Update the extension first.
- For errors and warnings, open the quick fix on the underlined code (Cmd+. on macOS, Ctrl+. on Windows and Linux) and pick Fix with Claude Code. The problem goes into the chat box.
- Failed tests get the same Fix with Claude Code in the test peek and the Test Results view.
- Open a file with merge conflicts and Resolve Merge Conflicts appears in the editor title. It's also in the Merge Changes group of the Source Control view.
- Right-click a changed file in the Source Control view and pick Add to Chat to attach it.
- Add Cell to Chat in the notebook cell menu attaches a cell with its outputs or error.
From this version, a notice appears before you send a very large selection or attached text file. When you hit "Prompt is too long", the advice under it names the large part and what to do next.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.