Do scripts accept arguments/parameters? Is there a way to pass objects to them?

There is support for scripts in the IDEA but it currently missing crucial component - ability to call project code. You can follow this discussion. Also there is a link there to tracker. You can vote it up if you want this feature.

Personally, I am waiting for it with great anticipation. For now I use groovy scripts, but Kotlin, being type safe is much better.

1 Like