Does IntelliJ have support for understanding the d...
# announcements
d
Does IntelliJ have support for understanding the dependencies of a script file? I.e. using
@file:DependsOn("group:artifact:version")
and not getting reference errors. See https://blog.jetbrains.com/kotlin/2018/09/kotlin-1-3-rc-is-here-migrate-your-coroutines/#Scripting
l
#C0BT46EL8 or #C0B8H786P, no?
g
As I know IDEA supports it if you create project with this script and manually add script definition to project settings, but never tried it
n
this will most likely work once
main-kts.jar
or whatever scripting host defines this is added to the classpath, i never use that one, i added dependnecies through jars on the local filesystem and that worked fine in idea