Dmitry Kandalov
Dmitry Kandalov
I haven't seen the first problem. Maybe the inspection code throws some exceptions (which IIRC can be sometimes not displayed in the UI or logs). If you have an example,...
> live-plugin eats the exceptions from inspection code Hm, are you sure it's live-plugin eating exceptions and not just how IDE works? 🤔 > ... to force refresh the inspection...
Let me look into it. I might release a patched version. At the moment because of changes in IntelliJ API and dependencies, plugins for the latest version of IntelliJ are...
Thank you! Sure, I look into it. I wonder if there is a reason why you use LivePlugin instead of https://www.jetbrains.com/help/idea/ide-scripting-console.html which should already support Clojure? In LivePlugin it should...
👍 Good to know so I don't make the same mistakes 😅
I think you're right but I don't know what is the exact fix. I suspect it's related to issue #94.
Actually, this is related to https://youtrack.jetbrains.com/issue/KT-28916. So, unfortunately, auto-completion won't work in multiple-src-files until kotlin-script starts reading definitions from non-`.kts` files.
@dovchinnikov I added `IndexableSetContributor` and registered it via EP. However, it didn't fix the issue https://youtrack.jetbrains.com/issue/IDEA-211113. It looks like it works only after adding `UseScopeEnlarger` and custom `GlobalSearchScope` (see https://github.com/dkandalov/live-plugin/blob/master/src/main/liveplugin/LivePluginAppComponent.kt#L210)....
I think the gist is fixed now (sorry for such a late reply 😨)
The errors you posted look like compilation errors. If you try running examples bundled with liveplugin, do they work? (Please don't reinstall windows 😅)