Update plugin in Intellij Idea 2020
Answered
Hello!
I noticed, that in Intejji 2020 openapi was removed method
loadDescriptionFromJar(File file)
in
PluginDownloader
So, what is a way to update plugins now?
Please sign in to leave a comment.
Anton,
What do you mean by "update plugins"?
I mean, when i release a new version of plugin and suggest a user to update to current version.
If the plugin is released to the JetBrains Plugins Repository, users will be notified about the update automatically. You don't need to handle it on your own.
And in another case?
I don't know what other case you mean.
Probably you're thinking about some custom solution that is not officially supported, sorry.
I meant, I provide update not via JetBrains Plugins Repository, but via custom logic.
I did it using PluginDownloader class.
Can you please, clarify whether you provide an official support for cases like that?
And I cannot place the plugin in repository, because it use personal user data in runtime
This method has been removed, indeed, but you can still browse the previous versions of the PluginDownloader and copy the code related to the features that are missing for you.