<@U0CHHN4F4> Since it is the most requested featur...
# scripting
h
@ilya.chernikov Since it is the most requested feature, I’d like to start a kscript plugin for IJ and was wondering if the scripting API is already in a state to declare custom dependencies as defined in my custom script format (see https://github.com/holgerbrandl/kscript#annotation-driven-script-configuration for an example) via a plugin. Next I’d like to create a custom kotlin-run-configuration. Are there some examples already centered around the ScriptEvaluator from the KEEP or is this still work in progress?
👍 1
i
@holgerbrandl about the dependencies definition, our position remains the same: we don’t want to fix names for these annotations in the API. But so far we’re using
DependsOn
and
Repository
in our examples, and see no reason to change them. And others from your definitions look fine for me too, so I think this shouldn’t be a problem. The Scripting API itself is now being significantly reworked, to provide nicer and cleaner concepts and DSLs for defining them, and I hope that the final version will be available within a week or two.
👍 1
About the evaluator - there are no ready-made examples yet, but plan to do something about it in the nearest future. I’ll come back to you on this.
h
Thanks for the update. I’m looking forward to the updated API & examples. Will there be a presentation on KotlinConf concerning these new scripting features?
i
I’ll send you links as soon as it will land on master. About the presentation - most likely - not, or maybe as a part of some overview, but it is not clear for a moment.