[BUG] VS Code extension: Cmd+F does nothing in the plan preview panel
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript, vscode
- Domain
- desktop, developer-experience
Research direction
Start in the VS Code extension code that creates the claudePlanPreview webview panel and compare its options with those used for the chat panel. Confirm the preview omits enableFindWidget, then add it and open a plan preview to check that Cmd+F (or Ctrl+F) opens the find widget.
Written by the indexing model from the issue text.
Description
What's Wrong?
In the VS Code extension, the plan preview panel (the tab that opens automatically when Claude presents a plan, headed "Ready for review / Select text to add comments on the plan") does not respond to Cmd+F (Ctrl+F on Windows/Linux). No find bar appears, so there is no way to search a long plan inside the panel.
The cause appears to be a missing webview option. In extension.js of the installed extension (2.1.308), the plan preview panel is created without enableFindWidget, while the main Claude chat panel sets it:
// plan preview: no enableFindWidget
createWebviewPanel("claudePlanPreview", J, {viewColumn: X, preserveFocus: !0},
{enableScripts: !0, retainContextWhenHidden: !0})
// chat panel: enableFindWidget set
createWebviewPanel("claudeVSCodePanel", ...,
{enableScripts: !0, retainContextWhenHidden: !0, enableFindWidget: !0, localResourceRoots: [...]})
VS Code shows its find widget in a webview only when the extension passes enableFindWidget: true in WebviewPanelOptions (API reference). No user setting can turn it on.
What Should Happen?
Cmd+F in the plan preview panel should open VS Code's find widget, the same way it does in a Markdown preview or an editor tab. The likely fix is adding enableFindWidget: true to the claudePlanPreview panel options.
Steps to Reproduce
- In the VS Code extension, ask Claude for a task in plan mode so that it calls ExitPlanMode and the plan preview tab opens.
- Click inside the plan preview tab to focus it.
- Press Cmd+F.
- Nothing happens: no find bar opens.
For comparison, opening the same plan file (~/.claude/plans/<name>.md) in an editor tab or the built-in Markdown preview and pressing Cmd+F opens the find bar as expected.
Is this a regression?
I don't know
Claude Code Version
VS Code extension anthropic.claude-code 2.1.308 (darwin-arm64); CLI 2.1.302 (Claude Code)
Platform
Anthropic API
Operating System
macOS 26.7.1
Terminal/Shell
Other (VS Code extension panel, VS Code 1.143.1)
Additional Information
Workaround: open the underlying file in ~/.claude/plans/ in a normal editor tab and search there. That loses the panel's select-to-comment feature, which is the reason to read the plan in the preview at all.
I searched for duplicates and found none. The closest open issue is #65858, which asks for search within the chat conversation, not the plan preview.
- Dominant language
- TypeScript
- Stars
- 154k
- Forks
- 26.1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 4
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:security bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
anthropics/claude-code#106455 ·
-
area:sandbox area:security bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
anthropics/claude-code#106426 · 1 comment ·
-
area:ide bug has repro platform:macos platform:vscode
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#106311 ·
-
Hyperlinks (OSC 8) stripped in Rex terminal: TERM_PROGRAM=rex not recognized as hyperlink-capableOpenarea:tui enhancement platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#106261 ·
-
area:ide bug platform:vscode platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
anthropics/claude-code#106253 ·
All issues in anthropics/claude-code
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
🎙️ task - drop the raw `./node_modules/.bin/rhachet roles boot` line from bhuild's feedback templateOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ehmpathy/rhachet-roles-bhuild#639 ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
redhat-developer/rhdh-plugin-export-overlays#4650 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 13 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
omdsh-dev/DSH-better-sidebar#1098 ·
Maintainers usually reply within 2 days