In version 0.46.8, there is a fatal problem with the .cursorignore configuration: the not expression does not take effect

# Ignore all files
*
# Exclude required files and ignore them
!*.go
!*.csv

In version 0.45, the above configuration works very well. After updating version 0.46.8, all files in the project are excluded! SOS!

project/
├── AA.BB.CC.Dir/
│ ├── XXXX/
│ │ ├── sub.dir/
│ │ │ ├── file1.txt
│ │ │ ├── file2.fcc
│ │ └── another.dir/
│ ├── file3.log
│ ├── file4.fcc

After further troubleshooting, I can lock the problem in the path. When the path contains the symbol “.”, that is, “point”, cursor cannot index the file below it! Not that the “not expression” doesn’t work!

:frowning:

Having problems with .cursorignore as well.

Tried the following. It does recognize the cmake files, but the src and test folders are all ignored.

# ignore all
*

#
!src/
!src/*/
!src/**/*/
!test/
!test/*/
!test/**/*/

!CmakeLists.txt
!CmakePresets.json