Codebase chat ignoring .cursorignore

Hi, thanks for reporting an issue with Cursor.

Before you report this, we’d appreciate if you can search this forum to see if this issue has already been reported.

If you have done so, please check this box.
on

Describe the Bug

Codebase chat is searching files that should be excluded based on .cursorignore

Steps to Reproduce

I have included my python env folder (app_env/) in .cursorignore but despite that every time I do codebase chat it is searching through files in my env folder.

Expected Behavior

Search should ignore files in .cursorignore

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Additional Information

my python env “app_env” is included in .cursorignore like this:

dist/
build/
Test/
app_exe/
installer/
app_env/
**/.env/
**/venv/
**/pycache/
*.pyc

Does this stop you from using Cursor

No - Cursor works, but with this issue

mine still works fine

After I tried 7749 times, the result was that it could not reject the folder, it could only reject files with clear extensions like *.js *.py t

I deleted the index and then recomputed and now it’s working. I guess Resync Index wasn’t enough.

if you have the folder and put it in cursorignore it wont ignore i tried