is there a list of common reasons that the IDE wou...
# scripting
g
is there a list of common reasons that the IDE would fail to load script definitions from module dependencies? I have a simple freestanding project (no Gradle, just JARs on the modules classpath) and the behavior I see is: 2021.1 EAP: resolution broken, entry not appearing under Kotin Scripting in settings under any circumstance 2020.3: resolution working intermittently, the script definition sometimes disappears from the Kotlin Scripting window and the IDE thinks my scripts are regular kotlin scripts 2019.3: consistently working discovery is setup via a file in
META-INF/kotlin/script/templates
as many of the other existing examples do it. I wonder if the IDE runs into some error processing my definition, but if it is that's not being made visible to me
s
Hi! I’m sorry for the late reply. Could you share your project?
g
the script definition is here: https://github.com/garyttierney/ghidra-kotlin-script, usage is a little obtuse as it depends on Ghidra. I'll upload a zip file with an IML project to make repro easier.
likewise, sorry for late reply!
e
Have the same problem with 2021.1
@Sergei Pecherkin [JetBrains] any update on this?
n
Hey. also happening to me…
i