Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
add a tooltip to the status bar display #42
Description of the Change
This PR adds a tooltip to the status bar display.
No other designs were considered.
Helps the user understand that this display is only referring to the highlighting of the current file.
A little more code and another thing to potentially leak.
Inspired by atom/encoding-selector#26.
It seems like the tooltip doesn't add much information beyond what's already in the status bar item. I guess it's to clarify that the language is referring to the active text editor. As opposed to what though?
Almost all of the default status bar items (filename, cursor position, encoding, line ending), also refer to the current active text editor, so it seems odd for the grammar selector in particular to have a tooltip just to state that.
Thoughts? I could be totally out of touch with users' understanding here.
Well, if it helps anyone, that might be worth it? Agreed, once you've used Atom for a day or two, this won't tell you anything you don't already know.
That said, I find it odd to scan the mouse cursor across the status bar's tooltips and stumble on one or two dead items. Feels like they're unfinished.
This one and atom/line-ending-selector#42 are the only holdouts... If they're merged, the entire status bar will respond the same way to hovers.
Consistency gives me comfort. :)
I'm not opposed to this but I don't like the use of
which isn't that clear either, but I'd like to avoid the implication that language packages also syntax highlight.
Unrelated: the encoding tooltip has a