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

Support full code inspection.

Open ChristianSchwarz opened this issue 5 years ago • 4 comments

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.

grafik

ChristianSchwarz avatar Jul 09 '19 14:07 ChristianSchwarz

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.

sschuberth avatar Dec 28 '19 16:12 sschuberth

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 ?

laithnurie avatar Feb 12 '20 11:02 laithnurie

No, I simply stopped using the IntelliJ plugin in favor of the Gradle plugin :wink:

sschuberth avatar Feb 12 '20 11:02 sschuberth

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.

JavierSegoviaCordoba avatar Apr 06 '20 18:04 JavierSegoviaCordoba