Plop for JetBrains IDEs
December 5, 2025 · View on GitHub
Get the plugin on JetBrains Marketplace
Run Plop code generators right from your JetBrains IDE. The plugin detects your project's plopfile, lists available generators, and adds a Plop submenu to the New context menu so you can scaffold files without leaving the IDE.
Features
- Auto-detects plopfile.js / plopfile.ts in your project (and per content root in monorepos)
- New | Plop submenu with dynamically listed generators
- Interactive prompts shown in the IDE; runs Plop via Node.js in the background
- Supports plopfile.ts through ts-node/register when available
Requirements
- Node.js installed and available on PATH
- A project-level Plop setup (plopfile and the plop package)
- Optional: JetBrains NodeJS plugin for improved Node interpreter detection
Installation From JetBrains Marketplace (recommended)
- Open your IDE Settings/Preferences → Plugins
- Search for "Plop"
- Click Install and restart the IDE
From source (for development)
- Clone this repository
- Run: ./gradlew buildPlugin
- Install the built zip from build/distributions via Settings/Preferences → Plugins → Gear icon → Install Plugin from Disk…
Usage
- Open a project containing a plopfile (plopfile.js or plopfile.ts)
- Right‑click in the Project tool window where you want to generate files
- Choose New → Plop →
- Follow the prompts; generated files and modifications will be applied to the project
Notes and limitations
- Generators are discovered per content root, which works well for monorepos.
- If no generators are found, ensure Node is on PATH and the plopfile is present and valid.
- For TypeScript plopfiles, a local ts-node dependency is recommended.
Development
- Minimum setup: JDK 17+, Gradle (wrapper included)
- Useful tasks:
- Run IDE for debugging: ./gradlew runIde
- Build plugin: ./gradlew buildPlugin
License MIT © Jasny — see LICENSE