Thread
#detekt
    m

    Mike

    3 years ago
    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.
    thuytrinh

    thuytrinh

    3 years ago
    in which case it automatically runs on all KT files
    When I press
    Run
    on the IDE right?
    m

    Mike

    3 years ago
    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.
    thuytrinh

    thuytrinh

    3 years ago
    Thanks for answering, Mike.