Cursor - Live Share: Ignoring .cursorignore file. Indexing everything

I joined a Live Share project with over 10,000 files, but I only need to index the .js files. Unfortunately, Cursor is ignoring both the .gitignore and .cursorignore files and indexing everything, which is making the process take way too long.

Is there a way to work around this for now? Can I set up a global .cursorignore file on my local machine so that Cursor only indexes .js files? It seems the .cursorignore file on the remote PC isn’t being applied.

:computer: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
Windows 10

:no_entry_sign: Tell us if the issue stops you from using Cursor. Yes

Hey, unfortunately, I don’t believe the team has confirmed the support of Cursor over Live Share like this.

I’ll add it to our feedback tracker to be looked into!

Thanks Dan! It was working flawlessly in the previous versions. Only started from 0.45.4.

But I think that’s inconclusive because I don’t recall if previous versions also spent 3 - 4 hours indexing all files. What I do know is my indexes were wiped out in this latest version and I had to re-index it. That’s when I noticed it’s trying to index 10,000+ files with no way of me trying to exclude unrelated files currently.

We’ve been transitioning our indexing infrastructure, so I’m not surprised you’re indexes needed to be recreated!

Keep an eye out for 0.45.5 and let me know if that resolves your issue!

Hi Dan,

Unfortunately same issue. It attempts to index 10,000+ files again after every update. Ignores the .cursorignore file on remote server. The problem is this takes 3 - 4 hours.

Is there a way to:

  1. Specify which files to index globally, so that I don’t have to rely on a .cursorignore file in remote server? For example can I some how create a .cursorignore file on “My documents” or something that it can read that from?

or

  1. Not index files. Just do the code completion based on ONLY the files I manually pass in?

You can definitely choose not to have an index, I can’t say I have much experience in how much the performance would degrade when you do this though.

Your .cursorignore file should be stopping the files you don’t want to be indexed from being actioned upon, can you send a snippet of the file just to confirm the format?

Hey Dan, when I try to autocomplete without an index I get the following error shown in screenshot.

However, I did get it to work by using “Composer” instead. Chat seems to require an Index, but Composer does not require it.

As for my .cursorignore, I think the issue is shown on my original post, where it can’t even find the file remotely even though it’s there. But its the following:
*
!.js
!
.jsx