Review your branch like a pull request, directly in PhpStorm. Add inline comments yourself, or let AI agents (Codex and Claude Code) review your changes.
- Review local changes:
- Human review: select code and add comments (
⌘⌥C). - AI review: click Review Diff (or branch) to have Codex and Claude Code review and add inline comments.
- Human review: select code and add comments (
- Copy as prompt: click to copy comments as a ready-to-paste prompt for coding agents.
Comments are 100% local. Like a PR pre-code review, but local to iterate quickly with agents.
The plugin is not on the JetBrains Marketplace yet. Install it from disk:
- Download the latest
prereview-*.zipfrom the Releases page - In PhpStorm:
Settings > Plugins > ⚙️ > Install Plugin from Disk… - Select the ZIP and validate
- Add a comment: select code (or place the caret), then right-click and pick Add Review Comment, or press
⌘⌥C. - Run an AI review: open the Review Comments tool window (right sidebar) and click Run Review. Codex and Claude review the branch diff in parallel. Comments appear as each agent finishes.
- Address comments: use Copy Prompt on a single comment card, or the global Copy Prompt button in the tool window. Paste the result into your agent of choice.
./gradlew build # build and run tests
./gradlew runIde # launch a sandboxed PhpStorm with the plugin
make build # build the ZIP and copy it to ~/DownloadsThe Gradle wrapper defaults GRADLE_USER_HOME to ./.gradle-user-home (unless already set) to keep plugin-SDK caches isolated from your global ~/.gradle.
Toolchain: Gradle 9.4, IntelliJ Platform Gradle Plugin 2.x, Java 21, Kotlin, targeting PhpStorm 2025.3.
Create a release on GitHub with a vX.Y.Z tag (auto-generated notes work fine). The release workflow builds the plugin with that version and attaches prereview-X.Y.Z.zip to the release. No version bump is needed in the repo.
