Back to plugins

// JetBrains plugin · Git · compilation guard

Pre-Push Compilation Checker

An IntelliJ IDEA plugin that intercepts every git push — from both the IDE dialog and the terminal — and blocks it if your code doesn't compile. CI failures for trivial build errors become a thing of the past.

Role

Author & maintainer

Stack

Kotlin · IntelliJ Platform · Gradle/Maven · Git hooks

Distribution

JetBrains Marketplace

Version

1.2.0

JetBrains Marketplace ↗ GitHub ↗

The problem

"Oops, fixing broken build" commits are a universal developer experience. Most IDEs will happily let you push compilation-broken code — CI catches it minutes later, and you've already broken main for everyone else.

I wanted a fast, local feedback loop that blocks the push before it leaves your machine, without waiting on CI and without slowing down healthy pushes.

What I built

Design decisions

Why the terminal hook matters: most "pre-push" plugins only cover the IDE dialog. Real teams push from terminals, GUI clients and CI scripts. This plugin installs a hook that mirrors the IDE check and re-surfaces errors inside IntelliJ whenever it's open — even if you triggered the push from somewhere else.

Links