You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to repair functionality of Copilot.
Using IDE scripting console I can call most things I need (util = com.github.copilot.util.ApplicationUtil) but the javascript does not offer any docs and I have not been able to bind a shortcut.
So I looked at LivePlugin with Kotlin.
However, here I can not import the required packages.
"import com.github.copilot.util.ApplicationUtil" will just throw an error.
How, if at all, can I access these Javapackages ?
The text was updated successfully, but these errors were encountered:
LivePlugin depends only on core modules/classes in IDE and doesn't know about copilot. In theory, it could depend on every installed plugin but it will make compilation and IDE support even slower. This is why it needs "depends-on-plugin". It might be an interesting idea to make LivePlugin search for missing classes on compilation error and suggest adding the required dependency.
Hopefully, you'll find it easier creating an action with shortcut with LivePlugin 🙂
It also would be interesting to know your particular use case.
Thanks a lot, that worked!
LivePlugin certainly works a lot better than the IDE scripting function they supply, I miss the "javascript", Kotlin is way too precise, but at least it all works now :)
It would be nice if STDOUT would be visible in Run menu
I am trying to repair functionality of Copilot.
Using IDE scripting console I can call most things I need (util = com.github.copilot.util.ApplicationUtil) but the javascript does not offer any docs and I have not been able to bind a shortcut.
So I looked at LivePlugin with Kotlin.
However, here I can not import the required packages.
"import com.github.copilot.util.ApplicationUtil" will just throw an error.
How, if at all, can I access these Javapackages ?
The text was updated successfully, but these errors were encountered: