Docs › Everyday work

Indexing and the Codebase Map

Index your workspace for semantic search, then build a map of file and method summaries.

Indexing

The index powers semantic search for you and the agents. Its settings are in AI Settings › Indexing under Codebase Indexing.

  • Automatically index new folders and files (this workspace) keeps the index current as you work.
  • Ignore files in .gitignore and Indexing exclusions (.indexingignore) control what gets indexed. Click Edit to change either list.
  • Embeddings run locally. By default they use Auto (default GPU), and you can pick a specific GPU.
  • Parallel Workers sets how many files are chunked at once. More workers is faster but uses more RAM.
  • Delete Index clears the index so it can be rebuilt from scratch.

Codebase Map

The Map tab is a searchable semantic overlay of your workspace: summaries for each file and method, with line ranges, relationships and callers.

  1. Choose a model to write the summaries. The list comes from the models enabled on the Models tab. A local code model is recommended for Normal and Turbo modes, and Batch mode uses your provider's batch models.
  2. Use Scope to choose which folders are mapped, then build the map.
  3. Click any file to see its Methods and Relationships, or click Open in editor.
  4. Turn on Auto-refresh to re-summarize only changed files in the background. Auto-refresh needs a non-batch model.
Warning: Turbo mode runs at high concurrency and can hit provider rate limits. Files that fail are retried automatically and then skipped.