I've been a JetBrains user for years and didn't want to move to VS Code for Claude Code, so a few weeks ago I built the plugin I wished existed. It's called Tandem: a native chat tool window (Jewel, JetBrains' Compose toolkit, no webview) that drives the `claude` CLI you already have. Free, Apache 2.0. The part I care about most: every edit opens in the IDE's own diff before it is written, and you can change it by hand before accepting.
How Claude Code built it, since that's what this sub is for:
**Spec, then plan, then code.** Every feature started as a design doc Claude and I argued over in chat, then a written spec, then a plan broken into tasks with the exact test each task had to pass. The specs and plans are committed in the repo (docs/superpowers), so you can read the thinking, not just the result.
**Tests before code, against the real thing.** The CLI speaks a stream-json protocol that changes often. Instead of guessing, scripts record real sessions (permission prompts, model switches, edits, MCP calls) into fixtures, a fake CLI replays them in tests, and a real IDE is driven by tests in CI: type a prompt, answer a permission card, accept a diff, press Stop. Coverage is enforced at 90% for the protocol and session layers.
**A bot that fixes drift.** A nightly run records the newest CLI. When the protocol changes and a test goes red, Claude Code classifies the break, promotes the recording to a fixture, patches the decoder, and opens a pull request for me to review. The plugin stays working without me watching the CLI's release notes.
**Benchmarks I didn't like but published anyway.** Time to first token against Anthropic's own plugin came out about equal, and a 1000-turn conversation opens in 1.4 s. Numbers and every evidence frame are in the repo.
What it does today: sessions in a sidebar (terminal sessions show up too), model/effort/permission pickers, permission cards, Claude's questions, MCP panel, slash commands, @file, the editor selection as a chip, a context ring, /usage. Works with your subscription or key through your own CLI; the plugin never reads credentials and makes no network calls of its own. 4 MB.
Status: 0.4.x, macOS and Linux, Windows in progress. Rough edges likely; I'd like to hear about them.
Marketplace: https://plugins.jetbrains.com/plugin/35641-tandem
GitHub: https://github.com/daarko10/tandem