How to add Kotlin PSI source files to IDEA Plugin project configuration

前端 未结 1 1326
鱼传尺愫
鱼传尺愫 2021-01-27 01:56

I am trying to add support for kotlin for one of the IDEA plugins.

So far, I found this page and understood that I need to work with kotlin PSI files, such as KtCl

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-27 02:45

    Those source files belongs to the Kotlin plugin, which is not strictly a part of IntelliJ IDEA distribution. You need to add the Kotlin plugin source to the project as well as the IDEA source.

    There're two modules needed:

    • https://github.com/JetBrains/kotlin/tree/master/idea
    • https://github.com/JetBrains/kotlin/tree/master/compiler/psi/src/org/jetbrains/kotlin

    0 讨论(0)
提交回复
热议问题