RepoLens for VS Code
Architecture documentation intelligence — right inside your editor.
RepoLens scans your repository and gives you a live view of your system architecture: modules, domains, dependencies, tech stack, and generated documentation — all in your VS Code sidebar.

Features
Architecture Explorer
A dedicated sidebar showing your project's structure at a glance:
- Project overview — file count, module count, API endpoints, pages
- Tech stack — auto-detected frameworks, languages, build tools, test frameworks
- Business domains — modules grouped by inferred domain (Auth, API, UI, etc.)
Module Browser
Browse all modules with file counts and domain tags. Click to navigate directly to the module directory.
Document Viewer
View generated RepoLens documentation grouped by audience:
| Audience |
Documents |
| Stakeholders |
Executive Summary, Business Domains, Data Flows |
| Everyone |
System Overview, Developer Onboarding, Change Impact |
| Engineers |
Architecture Overview, Module Catalog, API Surface, Route Map, System Map |
System Map
Visual dependency map of your modules — color-coded by domain. Open as a full webview panel for detailed exploration.
CodeLens Annotations
Inline annotations at the top of each file showing which module and domain it belongs to.
Status Bar
Live status showing module and file counts after scanning. Click to re-scan.
Commands
| Command |
Description |
RepoLens: Scan Repository |
Scan workspace and populate all views |
RepoLens: Generate Documentation |
Run repolens publish in a terminal |
RepoLens: Show System Map |
Open full-size system map panel |
RepoLens: Open Config |
Open .repolens.yml (or create one) |
RepoLens: Refresh |
Refresh all tree views |
Getting Started
- Install the extension from the VS Code Marketplace
- Open a project that has a
.repolens.yml config (or any project)
- The extension auto-scans on workspace open when a config file is detected
- Click the telescope icon in the activity bar to open the RepoLens sidebar
With the RepoLens CLI (recommended)
If you have @chappibunny/repolens installed in your project, the extension uses its full scanning engine for richer results:
npm install @chappibunny/repolens
npx @chappibunny/repolens init
Without the CLI
The extension includes a lightweight built-in scanner that works on any project — no additional dependencies required.
Settings
| Setting |
Default |
Description |
repolens.autoScanOnOpen |
true |
Auto-scan when .repolens.yml is detected |
repolens.showStatusBar |
true |
Show status bar item |
repolens.enableCodeLens |
true |
Show inline CodeLens annotations |
Requirements
- VS Code 1.85.0 or later
- Node.js 18+ (for full RepoLens CLI integration)
- Optional:
@chappibunny/repolens npm package for enhanced scanning
Links
License
MIT