Is there an Option to start a kotlin shell in the ...
# getting-started
r
Is there an Option to start a kotlin shell in the current gradle repo?
apparently gotta use scratch files
k
At various times and in various IntelliJ releases, Kotlin shell and/or scratch files have been switching from working to non-working, so now I use something that has always worked (and probably always will): I just temporarily create a
main
function inside an arbitrary existing Kotlin file of my repo and run it.
m
If you have Ultimate, look into Kotlin notebooks.