Skip to content
DocsUse AItoolsIDE Integration
Chapter 6 of 15·tools·8 min read

IDE Integration

Tích Hợp IDE

Using Claude Code with VS Code, JetBrains, and other editors

Hover or tap any paragraph to see Vietnamese translation

IDE Integration

Claude Code can be used as a standalone CLI, but IDE integration provides a smoother experience. Official integrations support VS Code, JetBrains IDEs, and other editors.

With IDE integration, you can invoke Claude directly from the editor, see results inline, and receive code suggestions right in your workflow.

VS Code Extension

The VS Code extension for Claude Code is the most popular way to integrate. It provides a chat panel, inline suggestions, and quick actions.

Installation

Terminal
1# From VS Code:2# 1. Open Extensions (Ctrl+Shift+X / Cmd+Shift+X)3# 2. Search for "Claude Code"4# 3. Click Install56# Or from command line:7code --install-extension anthropic.claude-code

Key Features

  • Chat Panel: Integrated chat interface in the sidebar to interact with Claude.
  • Inline Suggestions: Code suggestions directly in the editor as you type.
  • Quick Actions: Right-click to access quick actions like explain, refactor, fix.
  • File Context: Claude automatically understands the open file and surrounding codebase.

Keyboard Shortcuts

VS Code Shortcuts
1# Open Claude Chat Panel2Ctrl+Shift+P → "Claude: Open Chat"  # or Cmd+Shift+P on Mac34# Quick explain selected code5Select code → Ctrl+Shift+E  # Explain selection67# Quick fix8Select code → Ctrl+Shift+F  # Fix selection910# Inline completion11Alt+\  # Trigger inline suggestion1213# Accept suggestion14Tab  # Accept inline suggestion

JetBrains IDEs

Claude Code also has plugins for JetBrains IDEs like IntelliJ IDEA, PyCharm, WebStorm, and other IDEs in the JetBrains ecosystem.

Plugin Installation

JetBrains
1# From JetBrains IDE:2# 1. Open Settings (Ctrl+Alt+S / Cmd+,)3# 2. Go to Plugins → Marketplace4# 3. Search for "Claude Code"5# 4. Click Install → Restart IDE

Using in JetBrains

  • Tool Window: Claude panel appears in the right tool window.
  • Context Menu: Right-click on code to see Claude actions.
  • Intentions: Alt+Enter on code to see Claude suggestions.

Terminal Integration

If you prefer working in the terminal, Claude Code CLI can be integrated with many terminal emulators and multiplexers.

Tmux Integration

Terminal
1# Run Claude in a tmux pane2tmux split-window -h 'claude'34# Create a dedicated Claude session5tmux new-session -d -s claude 'claude'6tmux attach -t claude78# Quick access with alias in .bashrc/.zshrc9alias cc='tmux split-window -h "claude"'

Zellij Integration

Terminal
1# Split pane for Claude2zellij action new-pane -- claude34# Create layout with Claude pane5# In your layout.kdl:6layout {7    pane8    pane command="claude"9}

Web App

Claude Code also has a web app version at claude.ai/code for those who want to use it in the browser without installing the CLI.

Info
The web app has some limitations compared to CLI: cannot execute local commands, no direct filesystem access. However, it can still read/write code through the interface.

Desktop App

Claude Code Desktop App is available for Mac and Windows, providing a native experience with full CLI features in a graphical interface.

Desktop App
1# Download from:2# Mac: claude.ai/download/mac3# Windows: claude.ai/download/windows45# Features:6# - Native window management7# - System tray integration8# - Notification support9# - Multi-project tabs

IDE Configuration

You can configure how Claude works in the IDE through settings.

Settings
1// VS Code settings.json2{3  "claude.autoComplete": true,4  "claude.inlineHints": true,5  "claude.model": "opus",6  "claude.contextFiles": 10,7  "claude.theme": "dark"8}910// JetBrains settings11// Settings → Tools → Claude Code12// - Enable inline suggestions13// - Set preferred model14// - Configure keybindings

Key Takeaways

Điểm Chính

  • VS Code extension provides chat panel, inline suggestions, and quick actionsVS Code extension cung cấp chat panel, inline suggestions và quick actions
  • JetBrains IDEs have dedicated Claude Code pluginJetBrains IDE có plugin Claude Code riêng
  • Terminal users can integrate with tmux or zellijNgười dùng terminal có thể tích hợp với tmux hoặc zellij
  • Web and Desktop apps are available for browser/native useWeb và Desktop app có sẵn cho trình duyệt/native

Practice

Test your understanding of this chapter

Quiz

What is the shortcut to open Claude chat in VS Code?

Phím tắt để mở Claude chat trong VS Code là gì?

True or False

The Claude Code web app can execute local shell commands.

Web app Claude Code có thể thực thi lệnh shell local.

Code Challenge

Complete the VS Code CLI command to install Claude Code extension

Hoàn thành lệnh VS Code CLI để cài extension Claude Code

code --install-extension anthropic.
Quiz

Which terminal multiplexer integration is mentioned?

Trình terminal multiplexer nào được đề cập?

← → to navigate chapters
Built: 4/8/2026, 12:01:11 PM