With latest version of plugin you can simply select it in the Ktlint setting screen.
r
Ryan Sang
08/07/2024, 7:34 PM
Ah, thanks. Plain intelliJ this works, for my work setup we have a more complicated plugin update mechanism. I'll dive in there to figure it out.
d
David Kubecka
08/08/2024, 7:37 AM
@Paul Dingemans That's great! Finally, I can upgrade the ktlint plugging without also migrating to the new ktlint rulesets.
Any chance that the ktlint version can be synchronized with that in gradle/maven settings?
p
Paul Dingemans
08/08/2024, 9:41 AM
No, I don't think so. At least I would not know how to do that in a reliable way for all build systems. There are many different ways in which Ktlint can be integrated in the build.