The beta version of the `ktlint-intellij-plugin` ...
# ktlint
p
The beta version of the
ktlint-intellij-plugin
can now be installed via the Intellij IDEA marketplace, after you add the plugin repository as follows: • Open plugin page in IntelliJ IDEA • Go to the gear icon • Select 'Manage plugin repository' • Add beta-repository: https://plugins.jetbrains.com/plugins/list?pluginId=com.nbadal.ktlint&channel=beta The current
0.20.0-beta-6
is based on ktlint
1.0.1
. As I am now maintaining both
ktlint
and the
ktlint-intellij-plugin
you may expect the plugin to be updated regularly (at least with new ktlint and or Intellij IDEA versions). The plugin has been revised entirely. You can either use it in
distract free
mode that applies the ktlint formatting automatic and displays only the violations that need manual fixing. The
manual
displays all violations but does not apply the ktlint formatting automatic. Ktlint
1.1.0
has been published today. It will take a couple of hours before the artifacts will be published on maven. The plugin will be updated to this version soon and published as stable release in a couple of days.
K 5
👏 6
🎉 3
gratitude thank you 2
d
Is there somewhere a list of changes (especially added rules) between the ktlint versions?
p
There is no simple list to see when rules are added. I hope this helps.
d
Thanks for that. Would it be possible for the next releases to provide the list of new rules explicitly in a change log? That would enable us to assess in advance the complexity of upgrading ktlint in bigger projects.
p
d
I guess the relevant part here is the
Promote experimental rules - #2218
change. Anything else?
p
You are the only one that can decide what is relevant for you. I have provided the links where you can find all the info. I leave it up to you to use that info.