How Cursor learns your codebase for better understanding
Cursor Settings
> Indexing & Docs
.gitignore
, .cursorignore
).
Click Show Settings
to:
Cursor Settings
> Indexing & Docs
> View included files
This opens a .txt
file listing all indexed files.
.cursor/rules
work in all folders@[PR number]
, @[commit hash]
, or @[branch name]
. Includes GitHub comments and BugBot reviews when connected.
Platform support includes GitHub, GitHub Enterprise, and Bitbucket. GitLab is not currently supported.
Where can I see all indexed codebases?
How do I delete all indexed codebases?
How long are indexed codebases retained?
Is my source code stored on Cursor servers?