Hi folks! I'm playing with kotlin compiler plugin....
# compiler
r
Hi folks! I'm playing with kotlin compiler plugin. I do a simple job: in original class I generate nested helper class and member function that returns instance of this nested class.. I've managed to implement both FE and BE, and everything works when I run the code. However, IDE doesn't "see" the generated method I take
kotlin-serialization
plugin as example for implementing my plugin but I couldn't find the code that "introduces" generated class & method to IDE. Could someone please point me to the place where to look?
r
oh 😕 so for now it's impossible to achieve what I want?
e
for now you either need to write an IDE plugin which does the same thing as your compiler plugin and install it, or switch the feature in the IDE as described in the ticket (assuming the Kotlin version is compatible with the IDE tooling)