Claude-skill-registry 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.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ide-integration" ~/.claude/skills/majiayu000-claude-skill-registry-ide-integration && rm -rf "$T"
manifest: skills/data/ide-integration/SKILL.md
source content

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
Chrome
claude --chrome
Web 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