https://kotlinlang.org logo
#detekt
Title
# detekt
m

Mike

01/07/2019, 11:16 AM
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

thuytrinh

01/07/2019, 2:05 PM
in which case it automatically runs on all KT files
When I press
Run
on the IDE right?
m

Mike

01/07/2019, 2:42 PM
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

thuytrinh

01/08/2019, 9:02 AM
Thanks for answering, Mike.