Where can I find the code that creates this button? I searched for the tooltip text on GitHub and got no result.
I tried implementing the editorFloatingToolbarProvider
extension point, and let’s just say that mine didn’t turn out quite the same (wrong icon, no tooltip, etc.). I’m also interested in how it decides when to show and when not to.
com.intellij.openapi.externalSystem.autoimport.ProjectRefreshFloatingProvider
Using UI inspector it is trivial to find underlying implementations Internal Actions – UI Inspector | IntelliJ Platform Plugin SDK
Thanks. I am aware of the UI inspector. In this case, however, here’s what I see:
Just so I won’t have to ask next time, which part of the inspector am I supposed to look into to find ProjectRefreshFloatingProvider
?
Look at the Action
s present there (highlighted in blue on the right side of the property inspector), then good old Find Usages.
1 Like