nbadal / ktlint-intellij-plugin

Ktlint plugin for IntelliJ IDEA + Android Studio
MIT License
151 stars 23 forks source link

.editorconfig editor recognize ktlint overrides #300

Open jasonab opened 1 year ago

jasonab commented 1 year ago

All the ktlint-specific overrides I have in my .editorconfig are underlined and show "the property is not supported." It would be nice if the plugin could recognize these overrides as legal, and even lint and autocomplete them.

e.g.: ktlint_experimental_block-comment-initial-star-alignment = enabled should be recognized

nbadal commented 1 year ago

That would be nice! I'll see if these are exposed from the library or documented in a way that I can provide support here.

paul-dingemans commented 8 months ago

It looks like that the .editorconfig properties are hard coded into schema's that are included in the EditorConfig plugin which is provided via IntelliJ IDEA. I have created this YouTrack issue to get more information.

paul-dingemans commented 2 weeks ago

There is no pogress at all on the YouTrack issue. For now, I would suggest to either ignore all warnings about invalid properties in the .editorconfig file. Or, if it bother you, to disable the inspection Unknown property (see below): Screenshot 2024-07-02 at 16 27 11