detekt-intellij-plugin
detekt-intellij-plugin copied to clipboard
Support full code inspection.
It should be possible to run an inspection on all files of a selected project, modul or package.
The results should be displayed like that one that is generated by Android Studio's "Inspect Code" action.
As a side note, that's actually the way I had expected the plugin to work. Neither the README nor the plugin page actually say how to execute a run of the detekt plugin. It took me a while to understand that it's seemingly meant to work as on-the-fly inspection hints, but that's a rather inconvenient mode of operation if you want to fix all detekt issues in bulk by working down a list.
Any update on this ? like @ChristianSchwarz mentioned, it will be very useful to have as an inspection action (that's what I imagined the plugin will do), or at least maybe create an inspection profile we can add ourselves manually.
@sschuberth did you manage to get something working for you ?
No, I simply stopped using the IntelliJ plugin in favor of the Gradle plugin :wink:
I would like to replace native reformat code with this plugin so I would like to get:
- Reformat based on context (Selection, file, selected files, package, selected packages, module, selected modules and root for all.
- I developed with Dart (Flutter) and I love how the reformat works in that language, overall how it reformat the code if you add/remove a trailing comma. I would like to get a similar behavior when Kotlin 1.4 get an estable versión.