lsp4intellij icon indicating copy to clipboard operation
lsp4intellij copied to clipboard

[plugin compat] Internal API usage

Open gayanper opened this issue 4 years ago • 4 comments

IntelliJ IDEA Ultimate IU-201.7846.29 Compatible.

1 internal API usage uses internal API, which is not supposed to be used outside of the IntelliJ Platform.

Internal method usage: StatusBar.removeWidget(String)

gayanper avatar May 20 '20 18:05 gayanper

To fix these issue we need to switch to new alternative statusbar widget API or we should consider removing the statusbar widget. Because when running multiple LSP implementation this clutters the status bar. WDYT @NipunaRanasinghe ?

gayanper avatar May 20 '20 20:05 gayanper

To fix these issue we need to switch to new alternative statusbar widget API or we should consider removing the statusbar widget. Because when running multiple LSP implementation this clutters the status bar. WDYT @NipunaRanasinghe ?

As far as I remember I also tried to find a proper fix for status icon cluttering issue but got no luck. Did you find any alternative status bar widget API? If not, maybe we can think of alternative ways to indicate the stats like connection status, and connected files, timeouts, etc.

NipunaRanasinghe avatar May 21 '20 10:05 NipunaRanasinghe

The recommendation is to use StatusBarWidgetFactory. But I didn't look at it much closer since that API is not available in 2017.

gayanper avatar May 21 '20 10:05 gayanper

The recommendation is to use StatusBarWidgetFactory. But I didn't look at it much closer since that API is not available in 2017.

As of now we have to bump the minimum version anyway, I think its high-time to migrate to the recommended API. Lets keep this is in our roadmap.

NipunaRanasinghe avatar May 29 '20 13:05 NipunaRanasinghe