When I used the “add to chat” function before, the code I selected would appear in the chat window, but now, even though I’m using the “add to chat” function (whether by shortcut or manual click), it seems to have no response at all.
Hi @JiangGuangYao331 ,
Can you please confirm you are following these steps:
-
In the Editor, highlight some code
-
Press
Ctrl
+L
(to create a new chat) -
Press
Ctrl
+Shift
+L
(to use the existing chat) -
(it should have added the highlighted code as context to the chat prompt)
Can you also please copy/paste system info from:
Cursor
> Help
> About
Control+L can create a new chat normally, but Control+Shift+L cannot send the code I selected into the chat window. Copy-paste doesn’t work either, but I can copy-paste the execution result into the chat. Version: 0.42.0
VSCode Version: 1.93.1
Commit: 9e8f0f993884031e2f08d75f7adab80d1732a980
Date: 2024-10-09T23:06:04.586Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
Thank you for the extra information @JiangGuangYao331 .
I don’t have access to 0.42
yet (the new versions are released on a ‘rolling’ schedule so it takes a little while for all users to have access to them), but as soon as I do, I will see if I can reproduce the behaviour you are describing and let you know the results.
Yeah, it looks like it’s not working right now. You should roll back to an older version, you can download it from the main Cursor site.