[Feature Request] Terminal Tooltip / Modified Annotation
Hi, I'd like to have a way to customize the behaviour of annotations, or have something similar to an annotation that floats a tooltip over a matching string (set by a trigger). I'm trying to use annotations incorrectly to match an IP address and show a hostname in the annotation, and not surprisingly it's not working very well for me (in a list of IPs, the annotations trample each other, position on top of each other, are much wider than necessary and won't close themselves -- need user interaction, makes a big mess in a busy terminal).
I'm connecting to a large number of production hosts that can't have software installed on them, and the reference needs to apply to applications that aren't easy to substitute the text inline (and have no ability to do a DNS lookup automatically)
- Configure tooltip that could optionally pop up like an annotation, floating over the terminal text and going away after a set interval
- Configurable terminal text hint to indicate tooltip is present as mouse-over target to pop/re-pop tooltip
- Configurable tooltip transparency/color/size/font, TTL until it goes away, toggle if it pops up automatically or needs mouse-over/keystroke to pop (be made visible)
- Eventually the ability to tie that tooltip trigger into a command execution, which could be used for numerous things like a dynamic lookup of a matching IP address, hostname, port reference, service status, username, etc.
- Optionally populate the list of tooltip lookup strings/reference text from an external file on demand or dynamically
I've looked a little bit into the iterm2 Python scripting extensions, but haven't found a way to create/manipulate a tooltip (or other floating text box) in this manner.