Months ago I read about the K2 compiler and wrote ...
# k2-adopters
f
Months ago I read about the K2 compiler and wrote some compiler plugins which did not change the interface of the code compiled, so that the IDE was not upset. Nowthat 2.0.0-Beta2 is out I wonder if it is possible to write compiler plugins which declare new symbols (new fields, methods, classes and interfaces) and making IDEA aware of those symbols (so that they are considered in auto-completion, navigation, and error-checking) without having to write an IDEA plugin. I understood that this was the plan months ago for K2, so I am checking if this is now reality and if so, how can I play with that. Thank you all for your amazing work
(Please let me know if I should post in #compiler instead)
j
I am not sure if public IDEA has K2 yet but it will have it for sure with 2.0.0 Meanwhile it is possible to run IDEA with K2 by building it from sources. In order to generate anything in the frontend you should check FIR APIs
f
Thank you Javier!