# Selection / occurrence highlight in chat (like the code editor)

**URL:** <https://forum.cursor.com/t/selection-occurrence-highlight-in-chat-like-the-code-editor/160927>\
**Category:** Feature Requests\
**Tags:** chat\
**Created:** [May 18, 2026, 2:05pm UTC](https://forum.cursor.com/t/selection-occurrence-highlight-in-chat-like-the-code-editor/160927 "2026-05-18T14:05:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny-Zaharia-LS](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danny-zaharia-ls/32/108919_2.png) [@Danny-Zaharia-LS](https://forum.cursor.com/u/Danny-Zaharia-LS)\
**Post date:** [May 18, 2026, 2:05pm UTC](https://forum.cursor.com/t/selection-occurrence-highlight-in-chat-like-the-code-editor/160927/1 "2026-05-18T14:05:40Z")

</div>

### Feature request for product/service

Chat

### Describe the request

Summary  
Please add automatic occurrence highlighting in the chat panel: when I select a word or phrase in a chat message, highlight every other match in the visible thread

Problem  
In the editor, selecting text immediately shows other matches — great for scanning logs, stack traces, variable names, and repeated terms in long responses.

In chat, that behavior is missing. I can select text, but I don’t get the same “see all occurrences at a glance” feedback. For long agent threads with repeated identifiers (file paths, test names, API endpoints, error codes), this makes review slower than reading the same content in an editor tab.

Desired behavior  
Select text in a chat message (user or assistant).  
All other exact matches in the visible chat thread are highlighted (background or underline).  
Optional (nice-to-have): case-sensitive toggle, whole-word toggle, and/or Ctrl+F / Cmd+F find-within-chat that scrolls between matches.

Reference  
VS Code already has strong selection/occurrence behavior in Monaco editors; chat feels like the main place that still behaves like a plain web page instead of an IDE surface.

Thanks — this would make chat review feel as natural as reading code in the editor.
