Language Support Plugin with preinstalled PsiViewer plugin
已回答
Hi!
I'm trying to create language support plugin and with every re-run of the development IDE I have to re-install psiViewer plugin in that instance to view how changes to grammar files reflect on tree structure.
Is there a way to have that plugin pre-installed automatically at every launch of the new IDE instance?
请先登录再写评论。
Hi,
You can achieve it by adding the PsiViewer plugin temporarily for development purposes in the Gradle build script in intellij.plugins:
https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#intellij-extension-plugins
Also, if you enable the internal mode, you can use the built-in PSI tree viewer - please note that it is an alternative to the PsiViewer plugin.