Install Iris from the VS Code Marketplace
Open the Extensions panel in VS Code with
Ctrl+Shift+X (or Cmd+Shift+X on macOS), search for Iris, and click Install. The Iris icon appears in the Activity Bar as soon as the install completes — click it to open the sidebar.Iris installs in any VS Code-compatible editor. If you use Cursor, Windsurf, or VSCodium, the Marketplace install works the same way — or you can install the
.vsix manually.Open a supported file and read the File tab
Open any
.js, .jsx, .ts, .tsx, .go, or .py file. Iris scores it automatically — no command needed.The File tab in the Iris sidebar shows:- Enforcement snapshot — a top-of-file readiness summary with your score, blockers, hook posture, and trend direction
- Health score — a 0–100 composite score recomputed on every save
- Blockers and warnings — findings that penalise your score, each clickable to jump to the source line
- Function inventory — every detected function with its line number, length, and complexity
- Code smells — TODOs, magic numbers, debug prints, unused variables, and long parameter lists grouped in one section
Run a workspace scan
Open the command palette (
Ctrl+Shift+P / Cmd+Shift+P) and run Iris: Analyse Workspace.Iris crawls every supported file in the project and populates:- Workspace Readiness — an aggregate health score with blocker and warning counts across the whole project
- Hotspot rankings — the largest and most complex files ranked first, so you know where to focus
- Unused packages — dependencies declared in
package.json,go.mod,requirements.txt, orpyproject.tomlthat are never imported - Issues tab — all blocking issues and warning-level findings aggregated in one filterable list
- TODOs tab — every TODO, FIXME, and HACK comment across your project
Preview your enforcement posture
Scroll to the bottom of the File tab and click Preview Gate. Iris runs a background workspace scan and renders your posture against all five built-in presets in a read-only view:
Each card shows exactly how many files would be blocked at that threshold. When you find the right preset, click Apply to write
| Preset | Min score | Best for |
|---|---|---|
| Legacy | 60 | Large codebases with accumulated debt |
| Balanced | 70 | A typical TypeScript project — best starting point |
| TypeScript | 76 | Raises the bar on type safety |
| Strict | 82 | Greenfield code or shared libraries |
| Security | 85 | Prioritises secrets and safety |
presetId to your .irisconfig.json — no config editing required.Gate Preview is free for all users and always read-only. No hooks are installed and no files are blocked until you explicitly set up enforcement. Pro users can drill into the list of failing files and their scores for each preset.
Install the CLI (optional)
To scan files, gate CI builds, and audit dependencies from the terminal without opening VS Code, install the Iris CLI:Verify the install:The CLI shares the same thresholds as the extension. Run
iris check <file> for a single-file scan, or iris gate in a CI pipeline to enforce your health threshold before merging.Next Steps
Enforcement
Install a git pre-push hook or build hook to automatically block files below your threshold.
Configuration
Commit a
.irisconfig.json to share thresholds and custom rules across your whole team.CLI
Use
iris gate, iris deps, and iris todos in terminals and CI pipelines outside VS Code.Iris Pro
Unlock workspace scans, enforcement hooks, custom weights, and Account Insights with a 14-day free trial.