bj0
12/09/2023, 1:15 AMCtrl+Shift+F10
to run the current file, the run configuration it auto-generates has the wrong classpath module (project.jvm
instead of project.jvmMain
) and fails to load the main class. If I edit the configuration and switch it to .jvmMain
it runs fine, but the auto-generate always picks the wrong one, so I'd have to fix it every time. I tend to use this shortcut a lot when working on advent of code
in kotlin. Is there a workaround for this?Jakub Gwóźdź
12/09/2023, 6:20 AMmain()
before launching - at least that’s what works for mebj0
12/09/2023, 10:12 PMmain
function, so hopefully they fix it soon