Keyboard shortcut for "Add selection to chat" not working with Cursor 4.6

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
I couldn’t find an existing post about this

:lady_beetle: Provide a clear description of the bug
The add code selection to chat shortcuts (Cursor – Keyboard Shortcuts) are not working for me after updating to 4.6. They worked on 4.5.

:arrows_counterclockwise: Explain how to reproduce the bug
Select some code and then try to use the “cmd + shift + L” shortcut to add it to the chat context. It opens the Chat pane but doesn’t add the code selection to it.

:computer: Tell us your operating system and your Cursor version
Version:
Version: 0.46.5
VSCode Version: 1.96.2
Commit: 9fa6e431b47f723d1bac24802102dd2fd8ea72b0
Date: 2025-02-26T04:22:42.605Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0

Hey, both cmd + shift + L and cmd + L work for me, and they add the selected code to the context. However, you might not see this because you may have other files in the context.

It turned out to be something similar to Cursor retaining old folder and file references after deleted, even after reindexing. The add-to-context dropdown was not working either.

Completely removing and recloning my codebase repository resolved the issue.