I tried KTS for the first time in a while today. It worked reasonably well. Although I could create the
*.kts
file and run it, code completion, static analysis and importing did not work properly on IU-2021.3 and I didn’t bother to figure out why. Doesn't the IDE bundle it's own JDK? Scripting support should work out of the box on every project with zero configuration required.
m
mbonnin
10/29/2021, 8:32 AM
Try renaming to
*.main.kts
?
mbonnin
10/29/2021, 8:32 AM
FWIW, I'm doing that and code completion works well