5 min readUpdated Aug 6, 2026Beginner
Codebase Indexing
Learn about Codebase Indexing in this comprehensive lesson.
Cursor can index your entire codebase locally so the AI understands how all your files connect.
- Open Cursor Settings (gear icon) > Codebase.
- Click "Compute Index".
- Once finished, you can use the chat and press the "Codebase" button (or type @Codebase) to ask architectural questions.
Prompt
Where is the authentication logic handled in this project, and which files do I need to update to add a new OAuth provider?