Closed coodix closed 2 years ago
@dkandalov any ideas how to eliminate this?
@dkandalov hey, could you please have a look at this issue? It would be great if you could point the way where to dig.
Hi. Sorry for the slow reply. I was able to reproduce the issue and started looking into it yesterday but didn't get too far.
There are two sides to it:
LivePluginKotlinScriptProvider
KotlinPluginRunner
It would be great to make it at least successfully compiling. I've looked at KotlinPluginRunner and tried to apply same approach as was done in https://github.com/dkandalov/live-plugin/pull/104/files
"unresolved reference" errors disappear and git4idea's classes become available but it doesn't seem normal way to hardcode paths for needed plugins.
👋 This should be fixed in plugin version 0.7.0. (Apologies it took a while to fix but, unfortunately, dealing with Kotlin scripting API and compilation is not easy or pleasant.)
Trying to import Git plugin classes in Kotlin plugin
but getting error:
When run as Groovy plugin import is not failing.
Tried to add with no luck
// depends-on-plugin Git4Idea
Tried to add with no luck