<@U3A9GLEBY> there is no such functionality out of...
# scripting
i
@rpmoore there is no such functionality out of box. You can achieve something like this if you’ll write some resolver and supply JSR engine with the appropriate template. But may be it is a good thing to have out of box. Could you, please, submit an issue to YT (https://youtrack.jetbrains.com/issues/KT)