-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Detekt custom rules that uses Type resolution doesn't work with IntelliJ plugin #126
Comments
Are they working fine if you invoke Detekt from CLI or from Gradle? |
Hey @cortinico, Yes, while running the Gradle task it's working fine. |
This is actually reported by users. It is reported that |
Hey, I would love to help, but might need a hint. I assume that if we set the classpath via compiler options, rules with type resolutions are executed. Do you know how to get the classpath in the plugin? I googled a bit, read some javadocs and tried with:
which gives me an empty string. |
Rules like |
Yea, also just noticed that built-in rules that require type resolution are not working. |
It's not just custom rules, btw, as per #499. |
Hi team,
I've created some custom rules. Few that use type resolution and few that don't.
In the IntelliJ Plugin, rules that don't need type resolution works fine when I add the plugin jar. But the type resolution ones don't. Is this expected?
Thanks.
The text was updated successfully, but these errors were encountered: