I tried KTS for the first time in a while today. I...
# scripting
b
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
Try renaming to
*.main.kts
?
FWIW, I'm doing that and code completion works well