detekt / detekt-intellij-plugin

detekt plugin for IntelliJ
https://plugins.jetbrains.com/plugin/10761-detekt
Apache License 2.0
290 stars 39 forks source link

Pluign seems not to use a specific configuration #493

Open antimoroma opened 9 months ago

antimoroma commented 9 months ago

I'm trying the plugin, trying to use a specific configuration , and changing configuration (for example allowedConstructorParameters to 3) to test it.

Configuring the plugin to use this new configuration file seems not to tork on Intellij Community (last edition) or ultimate (2021 edition), it seem that plugin continue to use the default configuration

Any hint or idea? I'm missing something?

arturbosch commented 9 months ago

Hm, you shouldn't be able to install the plugin on an IntelliJ < 2022.1 or 2022.2? Could you test it with a newer version? Do you have a minimal reproducer project with checked in detekt config?

radekjezdik commented 9 months ago

I have the same thing, I added the configuration file in the plugin settings. And if I disable "Build rules upon the default configuration" it will not report any broken rules on the files (from the configuration file, which is basically the default with minor changes).

If I enable the "Build rules upon.." option again, it reports only the default rules but not the ones in the configuration file.

arturbosch commented 8 months ago

Hm, please provide a minimal reproducer to look at, if you can.