Kiro automatically indexes your codebase and documentation to provide intelligent code suggestions, navigation, and context-aware assistance. This guide explains how indexing works and how to manage it.
Kiro performs indexing automatically in these scenarios:
You can trigger indexing manually when needed using the Command Palette (Cmd+Shift+P
on macOS or Ctrl+Shift+P
on Windows/Linux).
Kiro provides several commands to manage indexing through the Command Palette:
Kiro: Codebase Force Re-Index
: Forces a complete re-indexing of your entire codebase. Use this when:
Kiro: Rebuild codebase index
: Completely rebuilds the codebase index from scratch. This is more thorough than force re-indexing and should be used when:
Kiro: Docs Index
: Initiates indexing of documentation files in your projectKiro: Docs Force Re-Index
: Forces a complete re-indexing of all documentation filesYou can monitor the indexing process through the Kiro Logs panel:
The logs show:
Kiro indexes various types of content to provide intelligent assistance:
The indexed data enables features like:
Codebase Indexing