detekt-intellij-plugin icon indicating copy to clipboard operation
detekt-intellij-plugin copied to clipboard

Custom rules not showing errors/warning in Android studio IDE

Open The-Pascal opened this issue 1 year ago • 1 comments

I have added multiple custom rules in my project, and added them to my detekt.yml. My custom rules are working fine when running with CLI, but custom rules do not shows any error/warning while I am coding in my IDE.

However, if I create JAR of my module and add it to plugin explicitly then custom rules starts showing errors in my IDE.

IDE - Android Studio Koala | 2024.1.1 Patch 1 Detekt Plugin - 2.4.1

Is this behaviour expected? I want that if I have custom rules in the same project, then I should not have to create JAR and add it explicitly.

The-Pascal avatar Sep 02 '24 12:09 The-Pascal

Are your rules using type resolution? If so this is related to #126 , the plugin does not support type resolution currently.

vexdev avatar Nov 22 '24 15:11 vexdev