At the moment either you have it enabled, in which...
# detekt
m
At the moment either you have it enabled, in which case it automatically runs on all KT files, or you have it disabled, and it does nothing.
👍 1
t
in which case it automatically runs on all KT files
When I press
Run
on the IDE right?
m
No, it hooks into the analysis phase of the IDE, and shows up like other intentions/inspections the IDE is running. You can then have IntelliJ show the issues as ‘errors’. This only affects display, and not actual compilation/execution. Makes it jump out more in a text file.
👍 1
t
Thanks for answering, Mike.