I’m building a project that uses NXP MCUXpresso SDK. It is a number of subprojects that are managed by west tool and these directories are excluded from git management by listing them in .gitignore file in the SDK root.
That causes ripgrep searches by Cursor to fail as it ignores the directories from .gitignore by default.
There’s a related issue in ripgrep repo: Disable .gitignore files by default, only use .ignore files? · Issue #645 · BurntSushi/ripgrep · GitHub
I tried adding .ignore file to the SDK root with !* single line and confirm the grep searches in Cursor now work. But I would rather not alter the SDK contents. Would it be possible to add a setting to Cursor to make grep search everywhere regardless of .gitignore files? There’s --ignore-vcs argument of ripgrep that would do the trick.