Skip to content
ide-integration logo

IDE Integration

ide-integration

IDE integration tips for VS Code, JetBrains, and terminal workflows. Use when setting up Claude Code with your IDE, configuring keybindings, optimizing terminal workflows, or synchronizing file navigation. Covers extensions, split terminals, clipboard, and diff viewing.

SKILL.md

Full skill instructions

IDE Integration

Optimize your Claude Code workflow by integrating with VS Code, JetBrains IDEs, and terminal multiplexers. This skill covers setup, keybindings, and patterns for seamless development.

Quick Reference

IDESetupBest Use
VS CodeIntegrated terminal, extensionsFull-featured editing + Claude
JetBrainsExternal terminal recommendedHeavy refactoring, debugging
Terminal-onlytmux/​screen for sessionsSSH, server-side, minimal setups
Chromeclaude --chromeWeb app testing, browser automation

Chrome Integration (2.0.73+)

Connect Claude Code to Chrome for browser automation and live debugging.

# Start with Chrome enabled
claude --chrome

# Or enable in-session
/​chrome

Capabilities:

  • Live debugging (console errors, DOM state)
  • Web app testing (forms, flows, regressions)
  • Design verification (compare UI to mocks)
  • Data extraction from websites
  • Authenticated app access (uses your login state)

Requirements: Chrome browser, Claude in Chrome extension v1.0.36+, Pro/​Team/​Enterprise plan.

See chrome-integration skill for detailed workflows.

UI Improvements (2.1.6+)

  • @ Autocomplete Icons - Different suggestion types now have icons
  • Status Line Fields - context_window.used_percentage and remaining_percentage available

Core Integration Patterns

Pattern 1: Split Terminal Workflow

Run Claude Code in one terminal pane, run commands in another.

+---------------------------+---------------------------+
|                           |                           |
|    IDE / Editor           |   Claude Code Terminal    |
|                           |                           |
|                           |---------------------------|
|                           |   Command Terminal        |
|                           |   (tests, builds, etc.)   |
+---------------------------+---------------------------+

Pattern 2: IDE as Diff Viewer

Let Claude make changes, use IDE's diff tools to review:

  1. Claude edits files
  2. IDE shows git diff/​file changes
  3. Review changes in IDE's visual diff
  4. Accept or request refinements from Claude

Pattern 3: File Navigation Sync

Share current file context between IDE and Claude:

# Copy current file path to clipboard (macOS)
echo "/​path/​to/​current/​file.ts" | pbcopy

# Paste into Claude prompt
"Look at /​path/​to/​current/​file.ts and fix the error on line 42"

Clipboard Integration

macOS

# Copy to clipboard
echo "text" | pbcopy
cat file.txt | pbcopy

# Paste from clipboard
pbpaste
pbpaste > file.txt

Linux (X11)

# Requires xclip or xsel
echo "text" | xclip -selection clipboard
xclip -selection clipboard -o

WSL / Windows

# Copy
echo "text" | clip.exe

# Paste
powershell.exe Get-Clipboard

Terminal Multiplexing

Split terminals efficiently for Claude Code workflows.

tmux Quick Reference

# Start new session
tmux new -s claude

# Split horizontally (top/​bottom)
Ctrl-b "

# Split vertically (left/​right)
Ctrl-b %

# Navigate panes
Ctrl-b arrow-key

# Resize panes
Ctrl-b Ctrl-arrow-key

# Detach session
Ctrl-b d

# Reattach
tmux attach -t claude

Recommended tmux Layout

# Create Claude Code development layout
tmux new-session -s dev -n main \; \
  split-window -h -p 40 \; \
  split-window -v -p 30 \; \
  select-pane -t 0

Layout result:

  • Left pane (60%): Main editor / IDE
  • Top-right (40% x 70%): Claude Code
  • Bottom-right (40% x 30%): Command runner

File Watching Patterns

Watch for Claude's Changes

# macOS - watch for file changes
fswatch -o /​path/​to/​project | xargs -n1 -I{} echo "File changed"

# Linux - inotifywait
inotifywait -m -r -e modify /​path/​to/​project

# Cross-platform with node
npx chokidar '/​path/​**/​*.ts' -c 'echo "Changed: {path}"'

Auto-reload Integration

Many IDEs auto-reload files. If not:

IDEEnable Auto-reload
VS CodeEnabled by default
WebStormFile > Settings > Appearance > Synchronize files on frame activation
IntelliJSame as WebStorm
Vim/​Neovim:set autoread

Diff Viewing

Command Line Diffs

# Git diff of Claude's changes
git diff

# Diff specific file
git diff path/​to/​file.ts

# Diff with color (most terminals)
git diff --color

# Side-by-side diff
git diff --side-by-side  # requires diff-so-fancy or similar

IDE Diff Tools

IDEHow to View Diffs
VS CodeSource Control panel (Ctrl/​Cmd+Shift+G)
JetBrainsGit tool window, Local Changes tab
Vim:Gdiff (with fugitive plugin)

Delta (Enhanced Diffs)

# Install delta
brew install git-delta  # macOS
cargo install git-delta # Rust

# Configure git to use delta
git config --global core.pager delta
git config --global interactive.diffFilter 'delta --color-only'

Environment Variables for Claude Code

# Add to ~/​.bashrc or ~/​.zshrc
export ANTHROPIC_API_KEY="your-key"
export CLAUDE_CODE_EDITOR="code"  # or "webstorm", "vim", etc.

# For JetBrains IDEs, use the CLI launcher
export CLAUDE_CODE_EDITOR="webstorm"
export CLAUDE_CODE_EDITOR="idea"
export CLAUDE_CODE_EDITOR="pycharm"

Quick Keybinding Reference

Terminal Navigation

ActionmacOSLinux
New tabCmd+TCtrl+Shift+T
Split horizontalCmd+D (iTerm2)Varies
Split verticalCmd+Shift+D (iTerm2)Varies
Switch paneCmd+[ / Cmd+]Varies
Clear terminalCmd+KCtrl+L
Cancel commandCtrl+CCtrl+C
Search historyCtrl+RCtrl+R

Copy/​Paste in Terminal

ActionmacOSLinux
CopyCmd+CCtrl+Shift+C
PasteCmd+VCtrl+Shift+V
Select allCmd+ACtrl+Shift+A

Workflow: Initial Setup

Prerequisites

  • Claude Code installed and authenticated
  • IDE installed and configured
  • Terminal multiplexer (optional but recommended)

Steps

  1. Configure terminal

    • Set up split panes or tmux
    • Test clipboard integration
  2. Configure IDE

    • Enable file auto-reload
    • Set up diff viewer shortcuts
    • Install recommended extensions
  3. Test integration

    • Have Claude edit a file
    • Verify IDE shows changes
    • Test undo/​redo flow

Common Integration Issues

IssueSolution
IDE doesn't show Claude's changesEnable auto-reload, check file watcher
Clipboard not workingCheck pbcopy/​xclip installation
tmux colors brokenSet export TERM=xterm-256color
SSH sessions disconnectUse tmux to persist Claude sessions
Large file edits slowConsider Claude's Edit tool vs full rewrites

Best Practices

  1. Use split terminals - Keep Claude visible while working
  2. Review diffs before committing - IDE diff tools are faster than reading
  3. Copy file paths liberally - Saves Claude from searching
  4. Persist sessions - Use tmux/​screen for long-running work
  5. Configure shortcuts - Quick terminal switching is essential

Reference Files

FileContents
VSCODE.mdVS Code specific setup, extensions, keybindings
JETBRAINS.mdIntelliJ, WebStorm, PyCharm integration
TERMINAL.mdTerminal integration, iTerm2, tmux patterns

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View