dkandalov / live-plugin

IntelliJ plugin for writing IntelliJ plugins at runtime ⚡️
https://plugins.jetbrains.com/plugin/7282
Apache License 2.0
840 stars 66 forks source link

Code completion isn't working in kotlin multiple-src-files example in IDEA 2019 #105

Open Tagakov opened 5 years ago

Tagakov commented 5 years ago

In IDEA 2019+ multiple-src-files can be compiled, but all references to functions from different files are red.

In IDEA 2018 everything works as expected.

Tagakov commented 5 years ago

@dkandalov Do you have any idea what can fix this issue? I think LivePluginScriptCompilationConfiguration should be changed somehow, but I can't figure out how.

dkandalov commented 5 years ago

I think you're right but I don't know what is the exact fix. I suspect it's related to issue #94.

dkandalov commented 3 years ago

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.

grsky360 commented 1 month ago

Is there any idea how to fix this issue in groovy and kts files?

grsky360 commented 2 weeks ago

Found a solution here: #188