Credits go to Dmitry Kandalov (https://github.com/dkandalov/live-plugin) for delivering a good starter point.
This is an IntelliJ IDEA plugin which reduces Java code by all the superfluous rubbish that only disturbs a code review.
There are planty of options to customize your zenification experience:
You can choose to:
- fold blocks
- fold comments
- fold field type elements
- fold getters & setters
- fold import lists
- fold local variable type elements
- fold log statements
- fold methods
- fold modifier lists
- fold parameter type elements
- fold parentheses
- fold semicolons
- fold throw statements
- fold new statements
- fold type parameter lists
- fold arbitrary expressions
Since the zenify mode toggles it is a good idea to provide the zenify action with a specific shortcut.
| Original source | Zenified source |
|---|---|
![]() |
![]() |
To install the plugin, go to Settings > Plugins > Marketplace and search for "Code Zenify" or use the following URL: https://plugins.jetbrains.com/plugin/22498-code-zenify.


