Add to Chat Temperamental

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Since the latest update, “Add to Chat” isn’t working half the time, whether I click the button in the code window, or use the shortcut (Ctrl + L, which i tried changing to something else and it still didn’t work).

I know this doesn’t work when editing a file in working tree or index, this is happening on files opened from the internal file browser.

Steps to Reproduce

Highlight code
Press ctrl + L add to chat shortcut, or click add to chat that appears
Code often doesn’t get added to chat, even with repeated attempts

Expected Behavior

It should add to the chat every time

Operating System

Windows 10/11

Version Information

Version: 3.23.12 (system setup)
VS Code Extension API: 1.128.0
Commit: 2d29876d567da1607532b23bbf2cd5ddbca496f0
Date: 2026-10-01T04:41:16.627Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. I want to pin down exactly when this triggers. Can you go through these steps and tell me what you see?

  1. Restart Cursor and open a file from the Explorer sidebar.
  2. Select a few lines, press Ctrl+L. Confirm the code shows up in the chat input, but don’t send it.
  3. Click into the chat input and press Ctrl+L again. The chat panel should close.
  4. Go back to the file, select a different block of code, and press Ctrl+L.
  5. The chat panel opens again, but the new block doesn’t get added?

If yes, try this too. Remove the first code chip from the input, or send the message, then repeat step 4. Does the code get added this time?

Two more details that would help:

  • Does it ever fail when the chat panel stays open the whole time?
  • Do you have the file open in multiple editor groups split view?

For now as a workaround, keep the chat panel open and click into the file right before pressing Ctrl+L. That should make it add more reliably. Let me know how it goes.

Hi

Maybe it’s better now after updating to 3.23.23. If it happens again though i’ll try this again and report back

Thanks

Hi

It just happened again. However when I followed your steps (restarted cursor and reopened the file) it worked again. Do you have any steps I should follow without restarting Cursor? I always make sure my cursor focus is inside the chat window before I press Ctrl+Lso the workaround doesn’t work unfortunately.

  • Does it ever fail when the chat panel stays open the whole time?
    • Yes
  • Do you have the file open in multiple editor groups split view?
    • The file this last happened on was only open in 1 set of tabs in the split view. It had been opened from clicking the file under Changes