A walkthrough from installation to enforcement. Follow the steps in order — the whole thing takes about 15 minutes.
Search "Iris Code Health" in the Extensions panel (Ctrl+Shift+X / Cmd+Shift+X), or use the direct Marketplace link below. Iris Code activates automatically when you open a JavaScript, TypeScript, Go, or Python file.
Iris Code — Code Health
marketplace.visualstudio.com · davidjaja.iris
Click the Iris Code icon in the Activity Bar to open the sidebar. Then open any .ts, .tsx, .js, .jsx, .go, or .py file. You'll see the health score, function list, complexity score, and any code smells or import issues in real time.
The Iris Code sidebar — populated the moment you open a supported file.
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run "Iris Code: Sign In". Your browser opens, authenticates, and redirects back to VS Code with your license key - stored securely in VS Code's SecretStorage. No copy-pasting.
Back to your dashboardOpen Account -> Config in your dashboard to pick a preset and sync a .irisconfig.json to VS Code without touching a file manually. Free users can apply any preset (balanced, strict, legacy, security, typescript) and commit it so the whole team uses the same thresholds. Pro users get the full Config Studio - switch to Custom mode to override individual thresholds, retention controls, toggles, and severity rules.
{
"presetId": "balanced",
"minHealthScore": 75,
"complexityThreshold": 8,
"functionLengthThreshold": 60,
"trendRegressionThreshold": 5,
"gateBaselineMode": true,
"enableSecretsDetection": true,
"gateMaxSecrets": 0,
"ignoreFiles": [
"**/*.test.ts",
"**/generated/**"
]
}Before installing a hook, open Gate Preview from the bottom of the File tab - it shows how your workspace scores against all five preset thresholds for free, with no enforcement. Once you're confident in the threshold, run "Iris Code: Install Git Hook" from the Command Palette. A build hook for npm prebuild, Go Makefile, and Python projects is also available.
$ git push origin main Iris Code: Checking health score... ✗ src/utils/format.ts — score 61 (threshold: 75) Iris Code: Push blocked. Fix failing files or lower your threshold. error: failed to push some refs to 'origin'
Iris Code is genuinely useful on the Free plan. Pro adds the features that matter for teams — enforcement, workspace analysis, and shared configuration.
Free
$0
Always free, no credit card
Pro
$6/mo
Cancel any time
Open VS Code, install the extension, and Iris Code will be in your sidebar the next time you open a file.
Install Iris Code, set a threshold, and make every change answer to the same deterministic rules. Source analysis runs locally. The same rules run in VS Code, the iris CLI, hooks, and CI.