DavidCorrado / kotlinter-intellij-gradle

An IntelliJ plugin to allow running the Kotlinter gradle tasks from within the IDE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotless Intellij Gradle

Build Version Downloads

An IntelliJ plugin to allow running the spotless gradle task from within the IDE on the current file selected in the editor.

You may find the spotless action via Code > Reformat Code with Spotless.

spotlessdemo

Report bugs or contribute enhancements on GitHub (ragurney/spotless-intellij-gradle)

Features

  • spotlessApply can be run on the current file via Code > Reformat Code with Spotless. You may also assign a keyboard shortcut to this action for convenience.

Installation

NOTE: Before using this extension, ensure you've configured Spotless correctly in your Gradle build file. (Run ./gradlew spotlessDiagnose to prepare & validate Spotless.)

Using IDE built-in plugin system:

Settings/Preferences > Plugins > Marketplace > Search for "Spotless Gradle" > Install Plugin

Manually:

Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

How it Works

This plugin runs the spotlessApply Gradle task on the current file using the Spotless IDE hook.

Contributing

See CONTRIBUTING.md

Release Notes

See CHANGELOG.md

License

See License

About

An IntelliJ plugin to allow running the Kotlinter gradle tasks from within the IDE.

License:MIT License


Languages

Language:Java 66.4%Language:Kotlin 33.6%