ilya.chernikov
01/24/2017, 3:45 PMbindings in the IDEA - there is a workaround for that: you can go to IDEA’s Preferences -> Build, Execution, Deployment -> Kotlin Compiler, and then put kotlin.script.templates.standard.ScriptTemplateWithBindings (or your specific template you’re using) to the Script Template Classes field and a (full) path to the jar implementing the template (e.g. kotlin-script-runtime.jar for the ScriptTemplateWithBindings) into Script Templates Classpath field. Then reload the project to get the changes.
The nicer discovery mechanisms for the templated scripts are in planning, but not yet available.