.cursorignore is read from workspace first repo rather than workspace directory

Version: 0.50.5
VSCode Version: 1.96.2
Commit: 96e5b01ca25f8fbd4c4c10bc69b15f6228c80770
Date: 2025-05-18T04:14:41.252Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

.cursorignore is read from workspace first repo rather than workspace directory

Hi, could you please provide more details?

Cursor developers may need more information to find why your setup does do that.

You can use following as guidelines and what info to add to the report.

Additionally please provide a Request ID (turn privacy off for that one request, so the Cursor team can see the issue in the logs)

Yeah I found out it doesn’t work at all in multi root workspace. I’ve had to put everything in a directory and load that.

Since they announced a multi project workspace it should work unless something is different in your workspace from what they offer, that’s why I suggested more info.

Let me know :slight_smile:

Same here, seems like it indexed all of the codebases and the folders in the workspace, but when I ask the agent a question, seems like it relates just to the first folder in the workspace.

Version: 0.50.7
VSCode Version: 1.96.2
Commit: 02270c8441bdc4b2fdbc30e6f470a589ec78d600
Date: 2025-05-24T18:19:58.349Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.3.0

Hi, dev here. Happy to help but we can’t reproduce either of the issues mentioned here, though we likely don’t have enough information.

@danwt how are you judging where .cursorignore is read from? Are you looking at the set of indexed files in the Indexing settings?

@eylonshm if all the files are indexed, then the semantic search tool should definitely be searching across all worksapces – there is no other way for it to behave. So maybe you are seeing the results from some other tool. Can you share exactly what the agent states before it answers your question, or give a request ID for us to check on our end? Thanks!

Sure thx!
RequestID’s: 0942d129-e7d3-4b09-8a9d-b8c8762d8d4b

@strib Again - I have 4 repos/folders under the same repo, it’s just relating to the first of them.

@eylonshm Ah, thanks for that, but it looks like you have privacy mode on so the request ID doesn’t help unfortunately. What does the agent say before it returns the answer – is it something like “Searched codebase for…” or something else?

When you say “4 repos/folders under the same repo”, do you mean you have done “Add folder to workspace” from the menu for 4 different subdirectories of the same git repo? Are any of them subdirectories of each other (because that isn’t supported).