[BUG] Plan-mode webview "Select text to add comments" — comments never reach the model

Resolved 💬 1 comment Opened May 3, 2026 by malheiros Closed Jun 2, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Environment:

Claude Code VS Code extension
Plan mode active, plan file open in the plan-preview webview pane
Steps to reproduce:

Enter plan mode, have Claude write a plan to the plan file.
Open the plan-preview webview pane (shows "Ready for review / Select text to add comments on the plan" header).
Select text in the webview, add comments.
Send any follow-up message to the model (e.g. "go").
Expected: the model receives the user's selected text + comment annotations, can read them, and incorporates the feedback into the next plan revision.

Actual: the model's next message contains only the user-typed prompt. No quoted snippets, no comment metadata, no attachment. The plan file on disk is unchanged. The user's comments are silently discarded.

Side effect: trying to "Reveal in Explorer" on the webview pane shows Unable to reveal in Explorer, unexpected scheme: webview-panel — confirming the webview is a transient render, not a real file the user could be editing.

Impact: users follow the UI's instruction in good faith, write detailed feedback, then discover after a round-trip with the model that none of it was received. High-frustration failure mode.

What Should Happen?

Suggested fix: either (a) wire the webview's comment system to inject the annotations into the user's next message as quoted blocks the model can parse, or (b) until that's wired, remove or change the "Select text to add comments on the plan" prompt so users aren't directed toward a non-functional path.

Error Messages/Logs

Steps to Reproduce

Enter plan mode, have Claude write a plan to the plan file.
Open the plan-preview webview pane (shows "Ready for review / Select text to add comments on the plan" header).
Select text in the webview, add comments.
Send any follow-up message to the model (e.g. "go").
Expected: the model receives the user's selected text + comment annotations, can read them, and incorporates the feedback into the next plan revision.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.121 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗