Omniscio

OmniscioGuidesClaude Code in JetBrains IDEs

How do you use Claude Code in a JetBrains IDE?

JetBrains IDEs — IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, GoLand and Android Studio — get Claude Code through a plugin. The plugin does not ship its own copy of Claude Code; it runs the claude command you already installed and connects to it.

This page is setup and daily use: installing both halves, what the integration adds, the settings worth changing, and the WSL2 connection fix. A plugin that is installed but misbehaving is a different question — the JetBrains plugin troubleshooting guide starts from the symptom, and this page points at it rather than repeating it.

Last checked against Anthropic's Claude Code documentation on November 21, 2026. By the Omniscio team. Updated .

What you need first

The plugin supports most JetBrains IDEs, and Anthropic names six: IntelliJ IDEA, PyCharm, Android Studio, WebStorm, PhpStorm and GoLand. It needs a paid Claude subscription (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account; no API key is required, and you are prompted to log in the first time you run claude.

The other requirement is the CLI itself. The plugin connects to claude rather than bundling it, so a machine with only the plugin installed shows a Cannot launch Claude Code notification. The quickstart covers installing the CLI.

Source: "Features" and "Installation" in Anthropic's JetBrains IDEs page, read November 21, 2026.

Install both pieces

1. Install the Claude Code CLI. Follow the quickstart if it is not already installed. The plugin looks for claude on your PATH and reports a Cannot launch Claude Code notification when it is not there.

2. Install the JetBrains plugin. Install the Claude Code plugin from the JetBrains Marketplace and restart your IDE. The plugin is published as a beta, and Anthropic notes that the Marketplace is third-party software it does not endorse, maintain or audit; it submits the plugin for publication there.

If claude lives somewhere your IDE cannot find, set the full path in the plugin's Claude command setting rather than moving the binary.

Source: "Installation" in Anthropic's JetBrains IDEs page, read November 21, 2026.

What the plugin adds

Five features, each one a different way the editor and the session share context:

  • Quick launch. Cmd+Esc on a Mac, or Ctrl+Esc on Windows and Linux, opens Claude Code from the editor; there is also a Claude Code button in the UI.
  • Diff viewing. Code changes open in the IDE's diff viewer instead of the terminal. The Diff tool setting in /config changes that.
  • Selection context. The current selection or tab is shared with Claude Code automatically. Read deny rules block that sharing for matching files.
  • File reference shortcuts. Cmd+Option+K on a Mac, or Alt+Ctrl+K on Linux and Windows, inserts a reference such as @src/auth.ts#L1-99.
  • Diagnostic sharing. Claude reads the IDE's inspection diagnostics, such as lint and syntax errors, by calling the getDiagnostics tool.

Source: "Features" in Anthropic's JetBrains IDEs page, read November 21, 2026.

Start it, and connect it

Run claude from the IDE's integrated terminal and every integration feature is active. From an external terminal, run claude, then /ide inside the session; when the connection succeeds, Claude Code confirms with a message like Connected to IntelliJ IDEA.

If Claude should see the same files as your IDE, start Claude Code from the same directory as your IDE project root. Start it somewhere else and the session may not find the project the editor has open.

Source: "Usage" in Anthropic's JetBrains IDEs page, read November 21, 2026.

The settings worth changing

Two places hold them. Claude Code's own settings control where diffs appear: run claude, enter /config, and set Diff tool to auto to show diffs in the IDE or terminal to keep them in the terminal. The entry appears in /config only while Claude Code is connected to the IDE, so run claude from the JetBrains terminal or run /ide first.

The plugin's own settings live in Settings → Tools → Claude Code [Beta]:

  • Claude command — a custom command to run Claude, such as claude, /usr/local/bin/claude or npx @anthropic-ai/claude-code.
  • Suppress notification for when Claude Command is not found — skips the notifications about a missing command.
  • Enable using Option+Enter for multi-line prompts — macOS only. Option+Enter inserts new lines in prompts; disable it if the Option key is being captured unexpectedly. It requires a terminal restart.
  • Enable automatic updates — checks for and installs plugin updates, applied on restart.

On WSL, Anthropic's recommended Claude command is wsl -d Ubuntu -- bash -lic "claude", with Ubuntu replaced by your distribution's name. The WSL setup guide covers the rest of that environment.

Sources: "Claude Code settings" and "General settings" in Anthropic's JetBrains IDEs page, read November 21, 2026.

When Escape does not interrupt

If the Escape key does not interrupt Claude Code's operations in a JetBrains terminal, the IDE is taking the key first. Open Settings → Tools → Terminal and either uncheck Move focus to the editor with Escape, or click Configure terminal keybindings and delete the Switch focus to Editor shortcut. Apply the changes.

Source: "ESC key configuration" in Anthropic's JetBrains IDEs page, read November 21, 2026.

WSL2: no available IDEs detected

Running Claude Code in WSL2 with a JetBrains IDE on Windows can show No available IDEs detected. Anthropic's stated cause is WSL2's NAT networking, or Windows Firewall, blocking the connection between the distribution and the IDE on the Windows host. WSL1 uses the host's network directly and is not affected.

The recommended fix — allow WSL2 traffic through Windows Firewall. In your WSL shell, run hostname -I and note the first two segments of the address; for 172.21.123.45 the subnet is 172.21.0.0/16. Then open PowerShell as Administrator and add a rule, adjusting the range:

New-NetFirewallRule -DisplayName "Allow WSL2 Internal Traffic" -Direction Inbound -Protocol TCP -Action Allow -RemoteAddress 172.21.0.0/16 -LocalAddress 172.21.0.0/16

Close and reopen both the IDE and Claude Code so the rule takes effect.

The alternative — mirrored networking. This needs Windows 11 22H2 or later; on Windows 10 use the firewall rule. Add two lines to .wslconfig in your Windows user directory:

[wsl2]
networkingMode=mirrored

Then restart WSL with wsl --shutdown from PowerShell.

Source: "WSL configuration" in Anthropic's JetBrains IDEs page, read November 21, 2026.

When the plugin will not work

Anthropic lists three failures — the plugin's features never appear, /ide says no available IDEs were detected, or clicking the Claude icon says command not found — and they look alike from the outside. Each one, with what to check in order, is the JetBrains plugin troubleshooting guide's subject, and that is where this page hands them over.

One setup detail belongs here rather than there: in JetBrains Remote Development the plugin must be installed on the remote host through Settings → Plugin (Host), not on your local client.

Sources: "Troubleshooting" and "Remote development" in Anthropic's JetBrains IDEs page, read November 21, 2026.

What to know before you trust it with edits

Anthropic raises one specific risk for JetBrains users. In acceptEdits permission mode — the mode that approves file edits inside your working directory without asking, except in protected paths — Claude Code may be able to modify IDE configuration files that the IDE can execute automatically, which can bypass Claude Code's permission prompts for Bash execution. Its advice is to use Manual mode for edits, to keep prompts trusted, and to know which files Claude Code can modify. The sandbox guide covers the wider isolation picture.

Source: "Security considerations" in Anthropic's JetBrains IDEs page, read November 21, 2026.

One IDE, several sessions

Each claude run needs its own terminal. Omniscio, the desktop app we make for running many Claude Code sessions at once, puts every session in one window beside that editor, so five sessions do not mean five tabs. It is free to use with up to 8 projects; Pro is $20/month or $192/year, and neither plan includes an AI allowance.

The VS Code guide covers the same integration in Microsoft's editor, and the multi-session guide compares the ways to run several sessions.

Where these answers come from

  • Anthropic, JetBrains IDEs: the supported IDEs, the five features, the two-part installation, the marketplace warning, usage and /ide, the Claude Code and plugin settings, the ESC key fix, remote development, the WSL firewall and mirrored-networking fixes, every troubleshooting entry, and the security note. Read November 21, 2026.
  • Anthropic, Quickstart: installing the CLI the plugin connects to. Linked, not quoted.

Every command, setting name, shortcut and message string on this page is Anthropic's own, quoted from the JetBrains page as it read on the date above. No JetBrains IDE was installed for this page.

Common questions

How do I install Claude Code in IntelliJ or PyCharm?

It takes two pieces. Install the Claude Code CLI first, then install the Claude Code plugin from the JetBrains Marketplace and restart the IDE. The plugin runs the claude command in your IDE's integrated terminal and connects to it; it does not bundle its own copy of the CLI. If the plugin cannot find claude, set the full path in the plugin's Claude command setting.

Which JetBrains IDEs does Claude Code work with?

The plugin works with most JetBrains IDEs, including IntelliJ IDEA, PyCharm, Android Studio, WebStorm, PhpStorm and GoLand.

Why does Claude Code say no available IDEs detected?

Anthropic groups the three plugin failures — features never appearing, no IDE detected, and a command-not-found icon — and each one's checks live in the JetBrains plugin troubleshooting guide. On WSL2, the network between the distribution and the Windows-hosted IDE is the usual cause of "no available IDEs detected", fixed with the firewall rule or mirrored networking above.

Do I need an API key to use Claude Code in a JetBrains IDE?

No. Claude Code works with any paid Claude subscription (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account, and no API key is required. You are prompted to log in the first time you run claude.

How do I make Escape interrupt Claude Code in a JetBrains terminal?

Open Settings, then Tools, then Terminal. Either uncheck Move focus to the editor with Escape, or click Configure terminal keybindings and delete the Switch focus to Editor shortcut, then apply the changes.

One editor, every session in one window

Omniscio runs Claude Code sessions side by side and shows you each one. The features page lists what it does today.