I am new to the plugin development and I am currently working on a plugin for PyCharm IDE. Here I colorize during an Action some lines of code in the current Editor that is opened.
For this I use the RangeHighlighter class. After this, I have certain lines colorized.
But now I would like to display a hover popup window with some text, if the mouse cursor is positioned on the colorized line for some time(e.g 500ms - like the setting for the JavaDoc in IntelliJ).
I have looked through similar questions/answers here and havent really found a solution for this. I am not sure if I have to create some PSIElement where the lines are and some Listener for it or what is the right, proper way to do this.
I will be very thankful for all your answers!
Thanks in advance