JetBrains Setup
Module: IDE Integrations | Lesson: 3 of 4 | Time: ~10 minutes
What You Will Learn
- How to install the Claude Code plugin for JetBrains IDEs
- How to configure the plugin
- Basic usage within IntelliJ, PyCharm, WebStorm, etc.
Prerequisites
- Completed Using Claude in VS Code
JetBrains IDEs Overview
JetBrains makes a family of powerful code editors, each tailored to a specific language or platform:
| IDE | Primary Language |
|---|---|
| IntelliJ IDEA | Java, Kotlin |
| PyCharm | Python |
| WebStorm | JavaScript, TypeScript |
| PhpStorm | PHP |
| Rider | C#, .NET |
| GoLand | Go |
| CLion | C, C++ |
| RubyMine | Ruby |
The Claude Code plugin works across all of these IDEs. If you use any JetBrains product, you can get Claude Code integrated directly into your editor -- just like the VS Code extension covered in the previous lessons.
If you do not use a JetBrains IDE, you can skim this lesson for awareness and move on. The VS Code extension (covered in Lessons 1 and 2) and the terminal version of Claude Code are sufficient for most workflows.
Installing the Plugin
-
Open your JetBrains IDE (IntelliJ, PyCharm, WebStorm, or whichever you use).
-
Open the Plugins panel:
- Go to File > Settings (or press Ctrl+Alt+S)
- In the left sidebar, click Plugins
-
Search for Claude Code:
- Click the Marketplace tab at the top
- In the search box, type
Claude Code
-
Install the plugin:
- Find the official Claude Code plugin by Anthropic
- Click the Install button
- Wait for the download and installation to complete
-
Restart the IDE:
- JetBrains IDEs typically require a restart after installing plugins
- Click Restart IDE when prompted
Just like with VS Code, verify that the plugin publisher is Anthropic before installing. Third-party plugins with similar names may not be official or secure.
Configuration
After restarting, configure the plugin:
- Open Settings again (Ctrl+Alt+S).
- Navigate to Tools > Claude Code (the exact path may vary slightly by IDE version).
- Configure the following:
| Setting | Recommendation |
|---|---|
| Authentication | The plugin shares credentials with your terminal Claude Code installation. If you have already authenticated in the terminal, it should work automatically. |
| Theme | Choose a theme that matches your IDE's color scheme |
| Tool Permissions | Start with defaults; adjust as you get comfortable |
- Click Apply, then OK.
Verifying the Connection
After configuration, look for the Claude Code panel. It is usually accessible via:
- A tool window button on the right or bottom sidebar
- The View > Tool Windows > Claude Code menu
Open the panel and type a test message:
Hello, are you working?
If Claude responds, you are connected and ready to go.
If the plugin cannot find your credentials, open the Terminal panel inside your JetBrains IDE (usually at the bottom, or via View > Tool Windows > Terminal) and run claude to authenticate. The plugin will pick up the credentials afterward.
WSL Considerations on Windows
If you are running Claude Code through WSL (Windows Subsystem for Linux), there are a few extra things to know when using JetBrains IDEs:
-
JetBrains IDEs run on Windows, not inside WSL. The plugin communicates with Claude Code through your Windows environment.
-
If your project is inside WSL (for example, at
\\wsl$\Ubuntu\home\yourname\project), the JetBrains IDE can still open it, but file paths may look different to the plugin versus the terminal. -
Recommended approach: If you primarily work in WSL, consider using the terminal version of Claude Code inside WSL and the JetBrains IDE for editing. They complement each other well.
-
Alternative: JetBrains offers Remote Development features that can connect directly to WSL. If you use this, the plugin should work seamlessly with WSL paths.
WSL path issues are the most common source of confusion on Windows. If the plugin cannot find a file, check whether the file path uses Windows format (C:\Users\...) or WSL format (/home/...). The terminal and IDE may see different paths for the same file.
Basic Usage
The JetBrains plugin works similarly to the VS Code extension:
- Chat panel -- ask questions, request edits, get explanations
- File context -- the plugin can see which file you have open
- Diff view -- proposed changes appear as diffs you can accept or reject
- Terminal integration -- the built-in terminal can run
claudeinteractively
The main workflow is the same across all JetBrains IDEs:
- Open a file
- Open the Claude Code panel
- Ask Claude to explain, edit, or generate code
- Review the diff and accept or reject
Try It Yourself
-
Install the plugin in your JetBrains IDE following the steps above.
-
Verify the connection by sending a test message.
-
Open a project file and ask Claude to explain it.
-
Request an edit and practice reviewing the diff in JetBrains' diff viewer.
-
If you also use VS Code, notice the similarities and differences between the two integrations. Both provide the same core features, but the interface layout differs.
What You Learned
- The Claude Code plugin works across all JetBrains IDEs (IntelliJ, PyCharm, WebStorm, and more)
- Install it from the JetBrains Marketplace via File > Settings > Plugins
- The plugin shares authentication with your terminal Claude Code installation
- On Windows with WSL, be aware that file paths may differ between the IDE and the terminal
- Core features (chat, diffs, file context) work the same as the VS Code extension
How was this lesson? Take 2 minutes to share your feedback — it helps us make the tutorials better for everyone.