Describe the Bug
Cursor AI’s agent repeatedly attempted to create files inside a directory that had been listed in the .cursorignore file. No warning or explanation was provided. This behavior caused confusion, as the agent appeared to malfunction rather than being blocked by configuration.
Steps to Reproduce
Add a directory (e.g., /my-folder) to .cursorignore (or .gitignore, if applicable).
Instruct Cursor AI to create or modify files inside that ignored directory.
Observe that the agent attempts the task but silently fails or refuses without explanation.
Attempt to add files from that folder to the chat context — Cursor refuses without stating the reason.
Expected Behavior
Cursor AI should detect the .cursorignore (or .gitignore) restriction and clearly notify the user that the folder or file is excluded due to ignore rules. Ideally, the UI should show a warning, tooltip, or use a more attention-catching visual indicator (e.g. red/orange highlight or explicit “Ignored by Cursor” badge/icon).
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.0.0
VSCode Version: 1.96.2
Commit: 53b99ce608cba35127ae3a050c1738a959750860
Date: 2025-06-04T19:26:40.367Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-15-generic
Additional Information
I initially assumed a malfunction or bug in Cursor itself because there was no error, log, or system feedback about the ignore rule. Only after noticing a small icon (a “no entry” symbol) did I suspect the folder was being ignored. That insight came by accident, not design. Cursor clearly has awareness of the ignore rule, so it should proactively surface that as feedback to avoid misleading the user.
Does this stop you from using Cursor
No - Cursor works, but with this issue