I'm making an extension, and I'd like to make certain text clickable (and then run a command based on that text). I think I can work out how to change the highlighting for the text, but can't find any information about how to interact with it. Something like making certain text look like a hyperlink, or even an actual hyperlink would work for me in this case.
I've read about the lightbulb stuff, and maybe I could hijack that, but that doesn't seem like a good solution.