How to create floating button for refresh configuration from a file


Hello, I have some configuration files like build.gradle but for another program. I'm loading configuration from these files to my plugin.

My question is: How can I show the floating button like on the image below and then trigger some action after click?

1 comment
Comment actions Permalink

See com.intellij.openapi.editor.toolbar.floating.FloatingToolbarProvider


Please sign in to leave a comment.