Cursor does not respect .cursorignore for @ context seach crashing cursor due to excess number of files

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

See .cursorignore not excluding files from the @ context

I have some directories which contain a large number of files in my project. These are both .gitignored and .cursorignored (verified by checking the list of indexed files in cursor settings). Yet I get these files as result when using @ in chat. Cursor is unable to handle the volume and crash. Sometimes is spawn dozens of rg processes which is close to bringing my whole system to a freeze.

Steps to Reproduce

In my case I’m quite sure it’s a wine directory. Create a couple of wineprefix directories and ignore these.

Expected Behavior

  1. As the linked closed-due-inactive post also say - the docs say .cursorignore should prevent files from being included in @ results.

  2. handle large number of files (it’s only 14k in my case)

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.17.12-300.fc43.x86_64

Does this stop you from using Cursor

Yes - Cursor is unusable

Thanks for the report, I’ve raised it with the team.