I'm giving scripting a try and am not yet clear on...
# scripting
k
I'm giving scripting a try and am not yet clear on the different modes there seem to be. The things IDEA has "new file" interfaces for are "Script" and "Worksheet" (
.ws.kts
), but do I need
.main.kts
instead of
.ws.kts
to use dependencies?
i
The integration with IntelliJ is not too smooth yet. So, yes, you need to manually give your file the
.main.kts
extension to be able to use
main-kts
functionality, in particular - dynamic dependencies.