Repository Indexer (VSCode Extension)
Export repository file(s) and dependency mappings as structured JSON for AI tools.
Install
From VSCode Marketplace:
- Open VSCode Extensions
- Search "Repository Indexer"
- Click Install
From VSCode Command Line:
- Run:
code --install-extension dxllhouse.vscode-repo-indexer
From Github Repository:
- Download the latest
.vsix file from Releases
- Run:
code --install-extension path/to/repo-indexer.vsix
Usage
Index Entire Repository:
- Ctrl+Shift+P → "Index Repository"
- Find repo-index.json in your workspace root
Index Current File Dependencies:
- Open any file in your project
- Ctrl+Shift+P → "Index from Current File"
- Creates index with only current file and its dependencies
Configuration
Open VSCode Settings (Ctrl+,) & Search "Repository Indexer"
Or add to settings.json:
{
"repositoryIndexer.excludeExtensions": [".db", ".log", ".tmp", ".exe", ".zip"],
"repositoryIndexer.outputFile": "repo-index.json"
}
Respects .gitignore and skips dotfiles.
| |