Kotlin MIT

ktlint-intellij-plugin

Ktlint plugin for IntelliJ IDEA + Android Studio

N

nbadal

Dernière activité 28 sept. 2026
nbadal/ktlint-intellij-plugin

202

étoiles

28

forks

16

issues ouvertes

Ce README est souvent en anglais.

plugin icon

Ktlint IntelliJ Plugin

Build Version Downloads GitHub license Slack

Formats code with ktlint after IntelliJ IDEA formatting or on save of file.

Ktlint is an anti-bikeshedding linter/formatter for Kotlin code based on the Kotlin Coding Conventions, Android Kotlin Style Guide, and other best practices.

Installation

  • Install via Settings > Plugins > Marketplace and search for "ktlint".
  • For beta versions, add the plugin repository: Settings > Plugins > ⚙️ > Manage plugin repositories and add https://plugins.jetbrains.com/plugins/list?channel=beta&pluginId=com.nbadal.ktlint.
  • Manual install: download the plugin from the JetBrains Marketplace.

Usage

  • Configure in Preferences > Tools > KtLint.
  • Ktlint is configured via .editorconfig (see Ktlint configuration).

Compatibility

Project structure

This repo is a multi-module project:

  • ktlint-plugin - IntelliJ plugin code.
  • ktlint-lib - Relocates ktlint artifacts and ships multiple ruleset versions.

Development and maintenance

See CONTRIBUTING.md for contribution, local development, and ruleset/version maintenance. Release and publishing steps are in MAINTAINERS.md.


Plugin based on the IntelliJ Platform Plugin Template.

Projets similaires

Painless, fast ktlint plugin for Gradle

Kotlin
Jjeremymailen
709 étoiles52

A ktlint gradle plugin

Kotlingradlegradle-plugingradle-script-kotlin
JJLLeitschuh
1,7 k étoiles184

Translation plugin for IntelliJ-based IDEs/Android Studio.

Kotlinandroid-studiodeveco-studiointellij
YYiiGuxing
11,9 k étoiles809