Cursor doesn't search in .gitignore-d folders

Hi all,

I’d like to be able to access files using fuzzy search. For regular project files it works fine, but for directories and files defined in .gitignore it doesn’t work. I read documentation and topics related to .gitignore, .cursorindexingignore and .cursorignore I could find, tried to find a solution using chatgpt, but with no success. The problem is shown in this video:

I’m pretty new in cursor, maybe there are some settings to solve this issue. I would be thankful for any help.

Hi there, since Cursor is based on VS Code you should be able to use the same settings they provide.

For me, I solved this with this Stack Overflow answer: visual studio code - vscode - how to get file search (not content) to include (git-) ignored files - Stack Overflow, i.e:

  1. Open visual studio code settings (cmd+ , on Mac or Ctrl+,), search for the setting:

  2. Search: Use Ignore Files

  3. Untick the checkbox