jCodeMunch — Auto Reindex + Risk Gutter (VS Code)A small VS Code extension that does two things:
WhyAuto-reindex on saveClaude Code's PostToolUse hook handles auto-reindexing in its own ecosystem. VS Code-side MCP clients (GitHub Copilot Chat, Continue, Cline, Roo Code, …) don't fire those hooks — so when you edit a file in the editor and another session queries jCodeMunch, the second session sees a stale index. This extension closes the gap by listening for Risk-density gutterMost "show me dangerous code" features pick one signal — usually caller count. That's misleading: a well-tested utility with 47 callers is fine; a 47-caller method nobody's tested and just got rewritten is a landmine. The gutter shows the fused signal across four axes (complexity / exposure / churn / test_gap), color-coded by composite. Driven by Refresh on file open + on save. Typing doesn't refresh — cyclomatic doesn't move with whitespace. Two-line summary: green = invisible, yellow/orange/red = look here. Hover any decorated line to see why. Requirements
Settings
Output appears in the jCodeMunch output channel (View → Output → jCodeMunch). InstallFrom the VS Code marketplace:
Or via the Extensions panel — search for "jCodeMunch". Build from source
IssuesFile at https://github.com/jgravelle/jcodemunch-mcp/issues — tag |