[BUG] VS Code extension: searching doesn't navigate to results off-screen

Status Open
Reported on v2.1.186
Maintainer reply None cached
Activity 3 comments · opened Jun 28, 2026

Preflight Checklist

What's Wrong?

When using Ctrl+F (Find) in the Claude Code VS Code extension panel, the search navigation arrows appear but navigating:

  • moves only from the first to the first to the last result (and vice versa)
  • does not bring into view any results that are outside of of the viewport

What Should Happen?

Navigation with the up/down buttons, Enter/Shift+Enter, and F3/Shift+F3 should cycle among the search results, and scroll the session log to bring them into view.

Steps to Reproduce

See https://github.com/anthropics/claude-code/issues/37182

Is this a regression?

No, this never worked. Surprising that it has been reported only once.

Claude Code Version

VS Code Extension 2.1.186, lagging behind Claude Code 2.1.195 (auto-update enabled)

Operating System

Ubuntu/Debian Linux, probably cross-platform.

View original on GitHub ↗

3 Comments

dandv · 1 month ago

As of extension Version 2.1.212 (Last Updated 2026-07-17, 13:22:03), search doesn't work at all. No results are highlighted on the same page for any query string.

The VS Code extension is the officially recommended way to use Claude Code in VS Code Basic search is a key feature. Would love to see this working.

zeyutang · 1 month ago

TL;DR FindBar via Claude Code UI Patch

Providing both Next/Previous Match and Match Block (the block where the match resides)

<img width="474" height="94" alt="Image" src="https://github.com/user-attachments/assets/f4caeb56-a193-4d67-87df-3410bf21a102" />

<img width="687" height="133" alt="Image" src="https://github.com/user-attachments/assets/0f05ce10-b811-4f67-8742-9635fb24caa6" />

---

  1. Install Claude Code UI Patch: via VS Code Marketplace or via Open VSX Registry
  1. Include the following in settings.json
{
  // ... (your existing settings)
  "claudeCodeUiPatch.chatFindBar": true,
  "claudeCodeUiPatch.chatFindBarNextMatchKeys": "enter",
  "claudeCodeUiPatch.chatFindBarPreviousMatchKeys": "shift+enter",
  "claudeCodeUiPatch.chatFindBarNextMatchBlockKeys": "cmd+enter",
  "claudeCodeUiPatch.chatFindBarPreviousMatchBlockKeys": "cmd+shift+enter",
}
  1. Reload the window (Cmd+Shift+PDeveloper: Reload Window)

---

Tested on: Claude Code 2.1.215 Related: #30599, #37182, #48535, #65858, #67632, #72005, ...
jwbth · 26 days ago

Basically we don't have in-session search in VS Code extension. This should be fixed as soon as possible. Kills many workflows.