chbndrhnns
(chbndrhnns)
1
I’d like to test a plugin against a “normal” installation of PyCharm. I am currently using this workflow:
- Build plugin
- Remove current version in IDE via UI
- Install new version in IDE via UI
- Restart IDE
Is there any shortcut to that?
I would want the plugin to be available without this UI juggling.
Thanks!
Hi!
Are you using IntelliJ Platform Gradle Plugin?
If yes, you can register an additional task to run your plugin against PyCharm. In build.gradle.kts:
intellijPlatformTesting {
// omitting existing declarations
runIde {
register("runPyCharm") {
type = IntelliJPlatformType.PyCharmCommunity
version = "2025.2"
}
}
}
This will create a runPyCharm task in the Gradle tool window.
By running this task, you can run your plugin for a specific IDE.