Tianyu Zhu
06/16/2021, 3:35 PM@KotlinScript(fileExtension = "my.kts")
abstract class MyScript
Presumably with some default imports and some implicit receivers, how do I get IntelliJ to help me highlight and autocomplete my file?Big Chungus
06/16/2021, 3:42 PMTianyu Zhu
06/16/2021, 3:43 PMBig Chungus
06/16/2021, 3:43 PMilya.chernikov
06/21/2021, 7:04 AM<FQN of your script definition>.classname
( e.g. like here https://github.com/Kotlin/kotlin-script-examples/tree/master/jvm/simple-main-kts/simple-main-kts/src/main/resources/META-INF/kotlin/script/templates) and then if you add the jar to a project dependencies, the script files will be automatically recognized in the source roots of that project.Tianyu Zhu
06/21/2021, 4:32 PMTianyu Zhu
06/21/2021, 4:36 PMTianyu Zhu
06/21/2021, 4:39 PM