Index specific folder

Feature request for product/service

Indexing

Describe the request

Let’s say that to make your life easier, it’s easier to open up the server using /home
To be able to go from one project to the next faster.
The index doesn’t like that, because it then tries to “index” the whole /home.
Perhaps let us separate how the index works, to let us index only specific folders, instead of the whole /home.

That way, the index is happy, and it could provide better support.

Operating System (if it applies)

Windows 10/11

Hey, thanks for the feature request!

Right now Cursor indexes the entire open workspace, but there’s a workaround using .cursorindexingignore.

Create a .cursorindexingignore file in the root of your workspace (/home in your case) and add patterns for folders you do NOT want indexed:

folder1/
folder2/
unwanted-project/

These files will be excluded from indexing, but they’ll still be available to the AI if needed. Full list of patterns: Ignore files | Cursor Docs

1 Like