Closed paul-dingemans closed 4 months ago
Next version of plugin supports ktlint versions 0.50.0, 1.0.1, 1.1.1 and 1.2.1.
This feature will be postponed. Current solution has unwanted side effect that size of plugin increases with 64MB per version of ktlint rules included. See #498.
The plugin comes with a bundled version of the ktlint rule engine and ruleset. Users should however be in control to use the ruleset from another ktlint version which is compatible with currently bundled rule engine. For this the user needs to disable the bundled ruleset, and manually add at least one other ruleset. It is not necessary that an official ktlint ruleset is loaded, but user should be warned in that case.
Add a field like below:![Screenshot 2023-12-26 at 14 08 19](https://github.com/nbadal/ktlint-intellij-plugin/assets/5195292/98c3a04d-7db9-4f0d-8f0b-0cf9514e3f75)
The ruleset details should display the id of the RuleSetProvider and the path to file.
The current dialog has to be rewritten with Kotlin UI DSL (see reference):
For example, see https://plugins.jetbrains.com/docs/intellij/settings-tutorial.html#the-appsettingscomponent-class