You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option in Alt+Enter to run the offending Rule again with autoCorrect=true on the active file.
Current Behavior
No actions on violations.
Context
autoCorrect is a really nice feature, but quite hard to use if we need to run command line utilities (e.g. gradlew :detekt with autoCorrect=true in build.gradle). The Detekt plugin is already showing the warning nicely where the Finding is. It would be quite useful to elevate Detekt to a level of IDEA inspections and have quick fixes.
The text was updated successfully, but these errors were encountered:
Nice one @arturbosch, surprised how simple it is. A quick comment: "Format" assumes that the user is using the ktlint wrapper in Detekt, but autoCorrect is a general feature. "Auto-correct with Detekt" might be a more generic label.
Nice one @arturbosch, surprised how simple it is. A quick comment: "Format" assumes that the user is using the ktlint wrapper in Detekt, but autoCorrect is a general feature. "Auto-correct with Detekt" might be a more generic label.
Thanks for the suggestion. I totally agree that we should use Auto-correct to reflect detekt's autoCorrect feature #171.
Expected Behavior
Option in Alt+Enter to run the offending Rule again with autoCorrect=true on the active file.
Current Behavior
No actions on violations.
Context
autoCorrect
is a really nice feature, but quite hard to use if we need to run command line utilities (e.g.gradlew :detekt
with autoCorrect=true in build.gradle). The Detekt plugin is already showing the warning nicely where the Finding is. It would be quite useful to elevate Detekt to a level of IDEA inspections and have quick fixes.The text was updated successfully, but these errors were encountered: