ActiveState Community

Matching Brace Tooltips

Posted by jumpyjason on 2009-10-29 04:03
OS: All / Any

Hi,

There's a feature I love that I would love to see. Frankly, without it, I find I'm wasting time.

At the moment, I can click on a brace to see a highlighted path to the other brace, which is fantastic, however I find that more often than not I'd like to see what the matching brace is.

What I'd like to see is if the matching brace is off screen, it will place a tooltip somewhere which shows the contents of that brace line. See the pic for an idea of what I mean. I've highlighted the bottom brace and because the matching brace is off screen, a tooltip with the matching brace code is displayed. No more scrolling! :) Perhaps even better than putting it at the top would be to make it a true tooltip and have it hover next to the mouse cursor. That way your eyes don't have to keep scouting around the screen for information.

It's one of those features that I didn't even think about when I had it, but now that I don't have it, I miss it.

Any chance of seeing that? Or better yet, is it already implemented somewhere?

Thanks!

AttachmentSize
tooltip.png7.57 KB

ericp | Thu, 2009-10-29 10:26

At http://bugs.activestate.com/enter_bug.cgi?product=Komodo

Also, what was the app that has this feature? It does sound
like a good idea, and I would put the tooltip at the cursor,
like you suggested.

You do know that ctrl-right-bracket will take you to the
matching brace (or tag in HTML), and you can either go
back with another ctrl-right-bracket, or use history
alt-left-arrow to go back?

- Eric