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

Support extensions in detekt-compiler-plugin #7466

Open
3flex opened this issue Jul 20, 2024 · 0 comments
Open

Support extensions in detekt-compiler-plugin #7466

3flex opened this issue Jul 20, 2024 · 0 comments

Comments

@3flex
Copy link
Member

3flex commented Jul 20, 2024

Expected Behavior

Support plugins in detekt-compiler-plugin.

Current Behavior

There is no support for running the compiler plugin with third party detekt extensions or rule sets.

Context

This is a worthwhile feature. The blocker here is the compiler plugin runs against kotlin-compiler but rule sets are compiled against kotlin-compiler-embeddable. This means any rules that deal with the PSI or AST will fail since they import org.jetbrains.kotlin.com.intellij from the embeddable compiler but the compiler plugin provides com.intellij.

@3flex 3flex added this to the 2.0.0 milestone Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant