Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesClaude Code & Agentic DevelopmentIDE Integration
Claude Code terminal: the claude -p command with Read and Edit allowedRetries after a 429 error: each pause is twice as long, then successText cut into overlapping chunks, the top three lifted into results
Get started free
Course

Claude Code & Agentic Development

Module 1 · Getting Started
01Installation and First Session02How Claude Code Reads a Codebase03An Effective CLAUDE.md
Module 2 · Daily Workflows
04Slash Commands and Custom Commands05Breaking Features into Tasks06Claude Code and git07Agentic Debugging
Module 3 · Power Features
08MCP Servers in Claude Code09IDE Integration10Advanced Patterns
Claude Code & Agentic Development · Lesson 9

Claude Code IDE Integration: VS Code Extension and JetBrains Plugin

VS Code extension with a graphical panel, JetBrains plugin (beta), keybindings, diff with per-change accept/reject, Plan mode with plan review, safe installation, and combining with Copilot.

20 min readUpdated Dec 2, 20264 questions in quizReady prompt included

How do you use Claude Code in VS Code or a JetBrains IDE?

In VS Code, install the Claude Code extension (anthropic.claude-code, VS Code 1.94+) and open its panel with the Spark icon or Cmd+Esc. In IntelliJ, PyCharm or WebStorm, install the claude CLI and the JetBrains plugin, then run claude in the IDE terminal. Both pass your selection and open file to Claude and show edits as diffs you accept or reject.

Start free: 7 days of full access →
Lesson 9 of 10opens after free sign-up

Claude Code & Agentic Development

A 10-lesson course for developers: setup, codebase navigation, CLAUDE.md, slash commands, task breakdown, git, debugging, MCP, IDE integration and advanced patterns. The first two lessons are open.

Course program →
🔒

Full lesson access

IDE Integration opens after free sign-up: 7 days of full access to every course, no card needed.

Start 7-day free trial
Then Pro: $9/mo or $79/yr

View plans →

One trial lesson is open without sign-up: what a large language model is →

VS Code extension vs JetBrains plugin

From the Claude Code docs, checked on 9 Nov 2026. Both need a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account; no API key is required.

VS Code (and Cursor)JetBrains IDEs
InstallExtension “Claude Code” (anthropic.claude-code) from the Visual Studio Marketplace or Open VSX; VS Code 1.94+Install the claude CLI first, then the Claude Code plugin (beta) from the JetBrains Marketplace, and restart the IDE
InterfaceNative chat panel; terminal mode with the useTerminal settingclaude runs in the IDE's integrated terminal; /ide connects a session from an external terminal
OpenSpark icon, “✻ Claude Code” in the status bar, Cmd+Esc / Ctrl+EscCmd+Esc / Ctrl+Esc or the Claude Code button
Insert a file referenceOption+K / Alt+K → @app.ts#5-10Cmd+Option+K / Alt+Ctrl+K → @src/auth.ts#L1-99
Review editsSide-by-side diff in Manual mode; Accept this change / Reject this change under each changeIDE diff viewer; set Diff tool to auto in /config
Extras@terminal:name for terminal output, checkpoints, sessions in tabsClaude reads lint and syntax errors through the getDiagnostics tool
Sources: Claude Code docs, “Use Claude Code in VS Code” and “JetBrains IDEs”.

A small edit with visual control

  1. Select the codeSelection and open file go to Claude automatically
    →
  2. Describe the task“Refactor this function, change only the selection”
    →
In this lesson
Why IDE integrationInstallationDiff and accepting changesKeybindings and contextModes and plan reviewCombining with CopilotPractical takeawayPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
  • Read the diffManual mode shows every change before it is written
    →
  • Accept or rejectPer change; edit the proposal before accepting
    →
  • Run the testsThen commit
    →
  • For a multi-file task, give the whole job in one prompt and switch to Plan mode first: Claude describes the plan and waits for approval.

    Corrections to the lesson text

    The extension changed after the lesson was written. Checked against the Claude Code docs on 9 Nov 2026.

    • The lesson says the VS Code extension runs the agent in the integrated terminal. Today it opens a native graphical panel by default; the terminal mode is the useTerminal setting or the Open in Terminal command.
    • The extension bundles its own CLI but does not add claude to your PATH. To run claude in a terminal, install the standalone CLI; both share conversation history, and claude --resume continues an extension conversation.
    • The JetBrains plugin does not bundle the CLI: without claude on PATH it shows “Cannot launch Claude Code”. With JetBrains Remote Development, install the plugin on the remote host.
    • Permission modes in the extension: Auto (the starting mode since v2.1.283), Manual, Plan and Edit automatically. The JetBrains docs warn that acceptEdits and auto mode may change IDE config files the IDE runs by itself, and suggest Manual mode for edits.
    • To keep a file such as .env out of Claude's context, add a Read deny rule for its path; in VS Code you can also turn off claudeCode.attachSelection and claudeCode.attachOpenFile.

    Sources we checked

    • Claude Code docs: Use Claude Code in VS Code
    • Claude Code docs: JetBrains IDEs
    • Claude Code docs: Permission modes

    FAQ

    How do I install Claude Code in VS Code?+

    Open Extensions (Cmd+Shift+X / Ctrl+Shift+X), search for “Claude Code” by Anthropic (anthropic.claude-code) and install it; VS Code 1.94 or newer is required. Open the panel with the Spark icon in the editor toolbar or the status bar item, then sign in with a paid Claude plan or a Console account.

    Does Claude Code work in Cursor?+

    Yes. The same extension installs in Cursor through the cursor:extension/anthropic.claude-code link or the Open VSX Registry, and in other VS Code forks through their Extensions view.

    How do I connect Claude Code to IntelliJ or PyCharm?+

    Install the claude CLI, then the Claude Code plugin from the JetBrains Marketplace, and restart the IDE. Run claude in the IDE's integrated terminal and the integration turns on; from an external terminal, run /ide inside Claude Code to connect.

    How do I accept or reject Claude's changes?+

    In Manual mode Claude shows a side-by-side diff and asks first. You can accept, reject, tell Claude what to do instead, or edit the proposed text before accepting. Accept this change and Reject this change buttons sit under each change; diffs with more than 100 changes are reviewed as a whole file.

    What are the Claude Code shortcuts in VS Code?+

    Cmd+Esc / Ctrl+Esc moves focus between the editor and Claude, Cmd+Shift+Esc / Ctrl+Shift+Esc opens a new tab, and Option+K / Alt+K inserts a reference to the selected lines such as @app.ts#5-10. In JetBrains IDEs the reference shortcut is Cmd+Option+K / Alt+Ctrl+K.

    Can I use Claude Code and GitHub Copilot together?+

    Yes. Copilot's inline suggestions complete code while you type, and Claude Code takes multi-step work such as a feature, a bug fix or a refactor across files. Copilot in VS Code now runs agents of its own too (Chat view, Agents window, cloud sessions), and its agent picker includes Claude and Codex, so decide which agent drives each task.

    Is this lesson free?+

    It is lesson 9 of 10 in “Claude Code & Agentic Development”. A free account opens this lesson and the rest for 7 days with no card, and the first two lessons stay open after that. After that Pro costs $9 a month or $79 a year.

    Related lessons and courses

    Free lesson 1: install Claude Code →Free lesson 2: how Claude Code reads a codebase →MCP servers in Claude Code →Advanced patterns: CI, -p mode and costs →Claude Code course →AI coding tools →

    Open the lesson with a ready IDE prompt

    The full lesson covers the diff view, selection context, small edits vs agentic sessions and pairing with Copilot, with a practical task and a quiz. A free account opens all 10 lessons for 7 days.

    Create a free account →