dkandalov / live-plugin

IntelliJ plugin for writing IntelliJ plugins at runtime ⚡️
https://plugins.jetbrains.com/plugin/7282
Apache License 2.0
858 stars 67 forks source link

adding statusbar widgets with registerWidget broken in 2023.1, works in 2022.3 #159

Open otamir opened 1 year ago

otamir commented 1 year ago

Steps to reproduce:

Expected (2022.3):

Actual (2023.1):

Error log: 2023-04-18 14:16:15,761 [ 38168] WARN - #c.i.o.w.i.s.w.StatusBarWidgetsManager - Factory is not registered as com.intellij.statusBarWidgetFactory extension: FibonacciWidget

otamir commented 1 year ago

I suspect the platform change that breaks this is: https://github.com/JetBrains/intellij-community/commit/71fed7b32d4ee02a59a81401abb73bab07ca18b6#diff-c404cd73f263d833129358683844c48e6232050e4ece46a3665a5b3c2ce421fe

otamir commented 1 year ago

The deprecated method that uses frame.statusBar.addWidget however seems to work.