dector
11/23/2021, 3:20 PM.main.kts
script in IDEA I have such issues:
• JDK is not found (import java.*
not recognized) even when I'm selecting proper JDK version manually in module settings.
• Auto-completion doesn't work for classes included with @file:DependsOn()
.
Is this expected behavior? Thanks.dector
11/23/2021, 3:21 PMmbonnin
11/23/2021, 3:29 PMmbonnin
11/23/2021, 3:29 PM212-1.6.0-release-799-IJ5457.46
holgerbrandl
11/23/2021, 8:54 PMholgerbrandl
11/23/2021, 8:58 PMdector
11/25/2021, 12:35 PMholgerbrandl
11/25/2021, 6:21 PMadryan_ip
12/25/2021, 2:43 PM*.main.kts
scripts are not working on inner folders different than root but working at root project level.
I’ve downloaded the kotlin-script-examples
project and the jvm/main-kts/scripts/kotlin-shell.main.kts
is not working but copying that script to the root project folder it works.
Anyone knows how to solve it?