Custom plugin repository
已回答
1) Is there a way to add or modify custom plugin repository url programmatically?
2) Can a plugin be uninstalled programmatically?
I have a requirement to uninstall my older plugin(A) and install my newer plugin(B). Both plugins have different plugin id.
I came across PluginReplacement extension point. The problem is I haven't defined the plugin replacement extension in my older plugin(A). Even if I release one more version of plugin (A) with PluginReplacement. The user might not be on the latest version.
请先登录再写评论。
Hi.
com.intellij.openapi.updateSettings.impl.UpdateSettingsstores plugin repositories, but please be aware that it is not a part of the open API. Why do you need to edit this programmatically? To just add new repositories, seecom.intellij.ide.plugins.CustomPluginRepoContributor.