Is there an easy way to use Kotlin scratch files? ...
# intellij
m
Is there an easy way to use Kotlin scratch files? I'm so used to using them in PyCharm, but I feel like there is so much configuration I have to do to make a Kotlin scratch file that it sort of defeats the purpose. Am I doing something way wrong?
l
cmd/ctrl+shift+N > Kotlin, then uncheck "interactive mode" if you want to run only when you press run. Also, make sure your IDE and Kotlin versions are up to date, it's only a few months old.
m
This is the issue I'm having with scratch files ­čśŤ
l
I'm not having this issue when selecting a module and using Kotlin 1.3.41 plus IDEA 2019.2+ or Android Studio 3.5
­čĺ» 1