Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom rules not showing errors/warning in Android studio IDE #518

Open
The-Pascal opened this issue Sep 2, 2024 · 1 comment
Open

Custom rules not showing errors/warning in Android studio IDE #518

The-Pascal opened this issue Sep 2, 2024 · 1 comment

Comments

@The-Pascal
Copy link

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.

@vexdev
Copy link

vexdev commented Nov 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants