Gradle vs Devkit
已回答
There are two ways to create a plugin project. Gradle is the preferred way and this is what I chose.
But in this way if I try to follow this tutorial:http://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/folding_builder.html
The IDE can't find PsiLiteralExpression and the class doesn't compile. What did I miss?
请先登录再写评论。
Try adding 'java' as plugin: https://blog.jetbrains.com/platform/2019/06/java-functionality-extracted-as-a-plugin
See the finished sample plugin as reference
https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/simple_language_plugin/resources/META-INF/plugin.xml#L13