I am trying to extend my plugin, but I require some help yet again! I want to show the user a small pop-up, or some other visual indication with text when the cursor is within the parameters of the Translate function (in PHP), shown as following:
The plugin is supposed to use the number underneath the cursor, find the coresponding index in other php file, and show the coresponding translation for the user somewhere in the IDE. So first things first, how do I trigger any method in the plugin, when the cursor is within the parameters? I thought of inspections, but those wont work in this case. Actions cant be triggered like this, can they?