Join Slack
Powered by
Is the incantation for adding script templates her...
# scripting
e
edwinRNDR
11/05/2025, 9:04 AM
Is the incantation for adding script templates here documented somewhere? Having an annotated class on the cp is not enough.
edwinRNDR
11/05/2025, 9:05 AM
It doesn't find any templates in the
https://github.com/Kotlin/kotlin-script-examples
project, which I would assume to just work.
edwinRNDR
11/05/2025, 9:07 AM
This
https://scastiel.dev/kotlin-scripts-dsl-underrated-feature
describes adding a file in resources/META-INF. And after upgrading their code to Kotlin 2.2.21 and a recent Gradle I actually managed to add the scripting template.
edwinRNDR
11/05/2025, 9:09 AM
(In IJ 2025.3 EAP)
5
Views
Open in Slack
Previous
Next