Code Lens shows reference counts above each export. Click to peek all usages. Exports with zero references stand out immediately.
Features
- Real-time diagnostics for all 11 dead code issue types
- Code Lens showing reference counts above each export (click to peek references)
- Hover information showing export usage counts, unused status, and duplicate block locations
- Quick-fix code actions: remove unused export, delete unused file
- Refactor actions: extract duplicate into shared function
- Tree views in the sidebar: dead code grouped by type, duplicates by clone family
- Status bar showing issue count and duplication percentage
- Auto-download of the LSP binary
Installation
Install the extension
Search for “fallow” in the VS Code extensions marketplace, or install from the command line:
LSP auto-download
The extension automatically downloads the
fallow-lsp binary on first use. No manual setup required.Commands
| Command | Description |
|---|---|
| Fallow: Analyze | Run full analysis |
| Fallow: Auto-fix | Apply auto-fixes |
| Fallow: Dry Run | Preview auto-fixes |
| Fallow: Restart LSP | Restart the language server |
Extension settings
Extension settings
| Setting | Default | Description |
|---|---|---|
fallow.lspPath | — | Path to fallow-lsp binary (auto-downloaded if not set) |
fallow.autoDownload | true | Auto-download the LSP binary |
fallow.issueTypes | all | Which issue types to report |
fallow.duplication.threshold | — | Duplication threshold percentage |
fallow.duplication.mode | mild | Duplication detection mode |
fallow.production | false | Enable production mode |
fallow.trace.server | off | LSP trace level for debugging |
Part of the three tracks
VS Code is one of three ways to use fallow:- Agents run
fallow checkfrom CLI or call MCP tools to generate code and verify their own output - You in VS Code see real-time diagnostics to review agent output and spot issues as you code
- CI catches the rest so nothing lands in main without passing fallow
See also
Agent integration
How AI agents use fallow via CLI and MCP.
CI integration
Add fallow to your CI pipeline.
Dead code analysis
The 11 issue types surfaced in real-time by the extension.