Skip to content

[FEATURE]: Implement message search (Cmd+F / Ctrl+F) in the Desktop App #19143

Closed

Description

@mpiosik

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently, there is no way to quickly locate specific information within a long session in the desktop app. Users have to manually scroll through history to find specific keywords or previous instructions, which is inefficient for long-running threads.

It would be very helpful to have a "Find" functionality implemented for the desktop app, triggered by the standard Cmd+F (macOS) or Ctrl+F (Windows/Linux) shortcuts.

Key features should probably include:

  • A search bar overlay that appears upon using the shortcut
  • Text highlighting for all matches within the currently opened session
  • Automatic scrolling to the nearest occurrence if none are currently visible
  • "Next" and "Previous" navigation to jump between matches

I am aware of issue #4714, which tracks this same functionality for the TUI. I think it makes sense to track the desktop app's implementation independently.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Mar 25, 2026
  2. github-actions commented on Mar 25, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    webRelates to opencode on web / desktop
    on May 3, 2026
  4. Mehdi-afs commented on May 6, 2026

    @Mehdi-afs

    Please add this to the desktop app, it would be highly useful
    The search function for earlier messages is good, but the ideal would be to see the list of my questions, summarised in 7, 8 words and select from them, the way we select /sessions , I think AI can easily summarise each of my questions in few words and store it with the whole question

  5. liuyier commented on Jun 9, 2026

    @liuyier

    请问,这个功能什么时候可以上线

  6. tianxieyangzhe commented on Jul 1, 2026

    @tianxieyangzhe

    请问,这个功能什么时候可以上线,desktop具备该功能的快捷键,但是无效

  7. heyonghau commented on Jul 10, 2026

    @heyonghau

    if possible, I hope also search function is enable on web. while opening web on browse, I can use browse's search, but when message out of the screen, search is disable.

  8. liudongyan13701205717-source commented on Aug 9, 2026

    @liudongyan13701205717-source

    Related follow-up for anyone tracking this issue: I just filed #41354 — "Search across my message history to quickly locate past conversations/content".

    Short version: Ctrl+F here solves "find in the session I'm looking at", but with hundreds of sessions across many projects, the recurring problem is finding which session contains a phrase I typed weeks ago ("what did I tell the agent before"). No content search over the session store exists today — the only workaround is recalling the approximate title and scrolling.

    A cross-session search (user messages, filterable by project/date, results jump into the matched session) is the natural complement to this issue — and if/when this in-session Find lands, the cross-session results can reuse it to scroll straight to the matched message. Just adding that context here for whoever picks this up.

  9. liudongyan13701205717-source commented on Aug 15, 2026

    @liudongyan13701205717-source

    Cross-link with #41354 (search across message history) — complementary: #19143 = in-session find, #41354 = cross-session history search. Both serve "locate what I told opencode before". +1, still relevant.

  10. xiangdongbu commented on Aug 20, 2026

    @xiangdongbu

    能不能速度更新下这个功能

  11. iwiznia commented on Aug 25, 2026

    @iwiznia

    I took the liberty to create a PR to implement this feature. I know the CONTRIBUTING.md says I require core-team design approval before opening a UI feature PR, but maybe it's easier to get approval with a working PR: #45037

  12. neriousy commented on Oct 19, 2026

    @neriousy
    Member

    This is implemented in v2, since v2.0.0: Cmd+F on macOS or Ctrl+F on Windows/Linux opens in-session search, highlights matches, and lets you navigate between them. Update the desktop app to v2 to use it. If you still see this on v2, please open a new issue with the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions