The Kotlin compiler uses PSI classes too, don’t it? So how does the Kotlin compiler create the psi classes? Do you really run a headless IntelliJ instance? The custom language plugin tutorial and its parsers heavily based on virtual files and IntelliJ project service 🤔
👀 1
s
shikasd
10/25/2022, 2:31 PM
In a way, yes
It is a bit cheaper than "headless" IntelliJ, just uses the same components
h
hfhbd
10/25/2022, 2:40 PM
Do you have a sample/link which components are used? At the moment I run the whole instance.
s
shikasd
11/01/2022, 2:14 PM
i believe it is intellij-core artifact, but not exactly sure