Howdy. I would like to have tooltips pop-up for every token in an editor window. All PSI nodes are of the same type and all return a reference suitable for the DocumentationProvider. My documentation pops up very nicely but only for identifiers. I realize this is an unusual request, but is there any way to make it pop up for every token in that editor? I'm including a screenshot that shows what I'm looking for. It does not give me a tooltip for the semicolon in that editor window.
My only goal is to make something that looks like that so I'm happy to use another approach if necessary. I was thinking of using balloons but I couldn't figure out how to get a raw underline or something like that in the editor window. I was guessing that there is no function that draws a line wherever I want ;)
So, my goal is to pop up information when the mouse moves over a region of text in the editor. I am almost there with tooltips using the documentation provider, but it doesn't seem to like punctuation and other non-identifiers. I'm happy to move to balloons if someone can suggest a way to underline, highlight, or otherwise demarcate regions of text in the editor given a token or PSI node or something.
thanks in advance