Codebase indexing is not indexing subfolders

Hi,

i try to index all php files from wordpress. My .cursorignore file looks like this:

# ignore everything
*
# don't ignore php files
!**/*.php

With this setting the chat knows only files in the current folder and doesnt find any php files in subfolders.
When i press reindex, its listing within a second all files in the current folder, but no subfolders before reaching 100%.

How do i get cursor to index more php files? Thank you

Hey, can you try something like this? Think you need to tell Cursor that it’s allowed to go into the directories in the first place, otherwise it skips straight over them!

# Ignore everything
*

# But don't ignore directories, so Git can traverse into them
!*/

# Don't ignore .php files
!*.php

Danke!!!