felilotero
(Felipe Lucas Otero)
May 16, 2025, 5:43pm
1
Hello!
I’m currently developing and a plugin and i want to show a notification if the installed version of the plugin is not the latest available.
I’ve already done the notification but i want to know if i can automatically open or create a button to open the marketplace / Installed plugins window. (Image)
Thanks!
Hi,
This is probably not the optimal solution, but at least it works without triggering deprecation warnings:
ActionManager actionManager = ActionManager.getInstance();
@SuppressWarnings("UnresolvedPluginConfigReference") AnAction pluginsAction = actionManager.getAction("WelcomeScreen.Plugins");
if (pluginsAction != null) {
actionManager.tryToExecute(
pluginsAction,
e.getInputEvent(),
e.getDataContext().getData(PlatformDataKeys.CONTEXT_COMPONENT),
e.getPlace(),
true
);
}
(I get e
from an AnActionEvent
)
1 Like
Please use StandalonePluginUpdateChecker
instead.
You should subclass it, via @Service
and call pluginUsed
in your plugin features.
It will show a notification for your plugin versions once new are available
1 Like
felilotero
(Felipe Lucas Otero)
May 19, 2025, 2:40pm
4
Hello! Thanks for the reply. Is there any documentation of this feature that i can use to?