Skip to content

[Feature]: Find text within the open conversation #2324

Backlog

Description

@PLUTO-NIX

A note from me

Hi! As a user who relies on Claudian a lot, I'd love to see a search feature within a single session (something like Cmd + F).

Right now I usually find information from a particular session with rg or RAG-based search. But during a conversation, I'd like to be able to look up a specific word myself, right away, without having to ask the LLM.

I'd really appreciate it if you could consider this. Thank you!


Before submitting

  • I searched existing issues and did not find the same request.

Problem or unmet use case

There is no way to search the content of the conversation that is currently open.

  • The session search (sidebar and, since [Feature]: Search the conversation history in single-pane mode #2181, the history dropdown) matches a conversation's title, Linked content path and project name. It does not match message text, so it helps you find which conversation, but not where inside it.
  • The navigation controls (previous/next message, Conversation directory) let you move between user prompts, but the directory lists prompt titles only, has no filter, and doesn't include assistant replies.
  • Obsidian's Cmd/Ctrl+F only works in note editors, so it does nothing in the chat view.

This matters most in long working sessions, which is where Claudian is most useful: a conversation runs for hours, and later you need to go back to something said earlier, like a file path the agent mentioned, a decision, an error message or a number. Right now the only way is to scroll and read. It gets harder because long transcripts render only the most recent messages and hide the rest behind "Show earlier messages", so even scrolling first needs several clicks to load the full history.

Desired outcome

While a conversation is open, I can type a word or phrase and jump between every occurrence in that conversation, in both my messages and the assistant's replies, including messages that haven't been rendered yet. The matched message scrolls into view with the match highlighted, the same way find-in-page works in a browser.

Affected provider

Not provider-specific

Proposed solution

  • A find bar in the chat view, opened with a hotkey (e.g. Cmd/Ctrl+F while the chat view has focus) and also available as a command so it can be rebound.
  • Search the in-memory message list, not the DOM, so messages outside the render window are included. On a match, reveal the earlier messages through that message (the way revealThrough already does for directory entries), then scroll and highlight.
  • Show a match counter ("3 / 12") with Enter / Shift+Enter (or ↓/↑) for next and previous, and Esc to close and clear the highlights.
  • Scope, as a reasonable first version: user and assistant text. Tool inputs and outputs and thinking blocks could come later behind a toggle, because they are collapsed by default and would add a lot of noisy matches.

Alternatives considered

  • Extend the Conversation directory: add a filter input to the directory popover and include assistant messages in it. This reuses existing UI, but the directory lists one line per prompt, so it can't show where in a long reply the match is or step through several matches.
  • Use external tools today: grep the provider's transcript files (e.g. ~/.claude/projects/*.jsonl), or ask the agent to read back its own session. Both leave the chat view, and neither can scroll the open conversation to the matching message.

Additional context

Activity

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

Metadata

Metadata

Assignees

No one assigned

    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