logoalt Hacker News

TowerTall • yesterday at 6:23 AM • 0 replies • view on HN

> Cursor had something like this at some point. They've removed it.

No, they say that they have removed it, but they haven't. Cursor claims they retired local indexing in favor of something they call "instant grep," which, according to their own support, doesn't use a local index, and they removed the tool in Cursor settings to rebuild the index.

But Cursor still uses a local index. They have just hidden it as a subfolder in your ".git" folder. "~/.git/cursor".

Their hidden index often goes stale, and I had to nuke that folder every time I changed many files. This isn't new; when they officially had a local index, it was often stale too. I developed a script that ran on a daily schedule, every few hours, to alert me when Cursor's index went stale.

I constantly had to watch for Cursor suddenly not finding documents that clearly existed, and it often worked on outdated content. Disabling instant grep removes the hidden index, btw and problem gone.