Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:
Check the forum to ensure the issue hasn’t been reported already Provide a clear description of the bug Explain how to reproduce the bug (if known) Attach screenshots or recordings (e.g., .jpg, .png, .mp4). Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x). Tell us if the issue stops you from using Cursor.
Since updating to the latest Cursor (0.46.4, vs code 1.96.2) I can no longer access the @CodeBase directive. It worked just fine prior to the update and no it’s gone.
I’ve tried it with sonnet 3.5 and 3.7 and no difference. I’ve deleted my index and recreated it several times, rebooted the computer, relaunched cursor several times.
I think in the new UI with combined Chat/Composer/Agent @codebase is available only in Ask mode.
My guess this by design, because Agent mode seems to have access to the whole codebase regardless of the use of @codebase, and Edit is intentionally limited to provided context only.
Yes I think you’re right. My initial resolution above was short lived as I noticed the download from the website was actually the previous version 0.45.x, therefore it still allowed @CodeBase in edit mode. This morning the IDE updated and I was back at 0.46 and lost access to @CodeBase in edit mode. This is unnecessarily confusing really.