Claude Code in JetBrains IDEs: plugin setup, shortcuts and fixes

If you work in IntelliJ IDEA, PyCharm, WebStorm, GoLand, PhpStorm or Android Studio, a plugin connects Claude Code to the IDE: changes open in the IDE's own diff viewer, your selection is shared automatically, and Claude can see the IDE's error markers. Here is how to set it up and what to check when it doesn't connect.

Install: two pieces

The plugin does not bundle Claude Code. It runs the claude command in the IDE's integrated terminal and connects to it, so you need both.

Use it

It is the same idea as the VS Code extension, with one difference: here Claude Code runs in the terminal and the plugin connects the IDE to it.

Settings worth knowing

Plugin settings are under Settings → Tools → Claude Code. The ones people need: the Claude command (a custom command or full path), a macOS option to use Option+Enter for new lines in a prompt, and automatic plugin updates. WSL users set the Claude command to run claude through wsl -d followed by your distribution name; the exact form is in the documentation.

When something doesn't work

A safety note

As we read the docs, in acceptEdits mode Claude may be able to change IDE configuration files that the IDE can run automatically, which could get around the permission prompts for shell commands. The docs suggest using manual approval for edits in a JetBrains IDE, using Claude only with prompts you trust, and knowing which files it can change. More on modes in permission modes.

The plugin also starts a local connection that the CLI uses to open diffs, read your selection and fetch diagnostics. Your selection and open file travel to Claude with each prompt; to keep a sensitive file such as .env out, add a Read deny rule for it (see the permissions starter). The setting "Accept connections from all network interfaces" makes that connection reachable from your local network and the traffic is not encrypted, so leave it off unless you have no other option.

This follows Anthropic's JetBrains documentation as we read it in October 2026, shortened on purpose. We are not affiliated with Anthropic or JetBrains. We wrote this from the documentation and have not tested every IDE or operating system. The plugin is still labelled beta, menu names and defaults change, and where this page and the documentation disagree, the documentation wins.

The free loop-stop skill gives long tasks a limit and a stop rule. If you want a second pair of eyes on your CLAUDE.md and settings, the Tune-Up Kit is a checklist for exactly that.