Skip to content

Iceman253/claude-code-webstorm

Repository files navigation

Claude Code for WebStorm

This plugin was entirely written by AI (Claude Opus 4.6) through conversational prompting with a human collaborator. Every line of code, configuration, and this README was AI-generated.

A JetBrains plugin that provides a chat UI frontend for the Claude Code CLI in WebStorm (and other JetBrains IDEs). Unlike the official JetBrains Claude plugin which just opens a terminal, this gives you a proper chat interface with streaming responses, markdown rendering, slash command autocomplete, and multi-session support.

Features

  • Chat UI — not a terminal wrapper. Claude's responses stream in character-by-character with a typing cursor, then render as formatted markdown when complete.
  • Multiple named sessions — create, rename, and delete separate conversations per task
  • Slash command autocomplete — type / to get a popup with all 24 Claude CLI commands
  • Model selector — quick dropdown next to the input box to switch models on the fly
  • Send code to Claude — highlight code and send it with context, or reference entire files
  • Floating prompt popup (Alt+Shift+C) — lightweight input near your caret
  • Smart scrolling — auto-scrolls during streaming, but stays put if you scroll up to read
  • Startup check — warns if claude CLI is not found on PATH

How It Works

The plugin runs claude -p "<prompt>" --output-format stream-json --verbose as a subprocess and parses the NDJSON streaming output. Multi-turn conversations use --resume <session_id>. No API keys needed — it uses whatever authentication the Claude CLI has configured.

Keyboard Shortcuts

Action Windows/Linux Mac
Toggle panel Ctrl+Esc Cmd+Esc
Floating prompt Alt+Shift+C Alt+Shift+C
Send selection Ctrl+Alt+Shift+S Cmd+Alt+Shift+S
Ask about file Ctrl+Alt+Shift+F Cmd+Alt+Shift+F
New session Ctrl+Alt+Shift+N Cmd+Alt+Shift+N

Requirements

  • JetBrains IDE 2024.1+ (WebStorm, IntelliJ, etc.)
  • Claude Code CLI installed: npm install -g @anthropic-ai/claude-code

Installation

From GitHub Releases (recommended)

  1. Go to Releases and download the latest .zip
  2. In WebStorm: Settings -> Plugins -> Gear icon -> Install Plugin from Disk
  3. Select the downloaded .zip file
  4. Restart the IDE

Building from Source

# Requires JDK 17+
./gradlew buildPlugin

The .zip artifact is in build/distributions/.

Settings

Settings -> Tools -> Claude Code

  • Claude executable path (default: claude)
  • Default model override
  • Extra CLI arguments
  • Auto-open on project startup

AI Disclosure

This project was created entirely through AI-assisted development. The human collaborator provided requirements, feedback, and testing — all code was generated by Claude Opus 4.6 via Claude Code.

License

MIT

About

AI-generated JetBrains plugin: Chat UI frontend for Claude Code CLI in WebStorm. Entirely written by Claude Opus 4.6.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages