How could I install non-bundled plugins by default when debugging my own plugin?

Answered

For example, When I'm debuggin a custom language plugin, I need the extra PsiViewer plugin for debugging but it's not installed by default. How could I install it every time I debug my own plugin?

I've tried to put the plugin files in the source code of the ideaIC plugin directory and it worked eventyrally, but seems not the best way. Is there any other official ways to do achieve this?

2 comments
Comment actions Permalink

You can either

1) add it as "normal" plugin to your Gradle setup (see https://github.com/intellij-rust/intellij-rust/blob/master/build.gradle.kts#L178)

2) or copy the plugin explicitly in Gradle script to your sandbox' plugins directory

0
Comment actions Permalink

That really helps, thanks!

0

Please sign in to leave a comment.