I have a problem where I launch a `main` method vi...
# intellij
s
I have a problem where I launch a
main
method via the gutter icon. It correctly creates a Kotlin run configuration but previously it would build (using gradle) and then launch the main method using the command line (visible in first line of the console). Now, it launches as a gradle task (
11:34:39: Executing task 'MainTestKt.main()'...
) ie. with the gradle task execution ui in the Run/Debug panes. Is there a setting for getting the old behavior back ?
a
Update to the latest Kotlin IDE plugin, it will revert to using the regular IDEA runner for Kotlin files. See https://youtrack.jetbrains.com/issue/KT-31353 for background
s
Thanks! That did it ! I wonder why this changed for me after only doing a
Restore Default Settings
.