Automatically runs ktlint on Kotlin files, and annotates any errors found.
Enable and configure in Preferences
> Tools
> ktlint
.
Adding more features over time: TODO.md
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "ktlint" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.