+58

View current git branch in titlebar

Eric Hamiter fa 14 anys updated by opensas opensas fa 12 anys 9
Confirming which git branch I'm in at a glance would be spectacular. Mock-up here:

http://www.sublimetext.com/forum/viewtopic.php?f=6&t=2119
-22
Oh come on. You don't use git every 5 minutes. Why clutter the UI with something for which you have a one click away on a terminal ?
+2
If it's an option to enable, it wouldn't clutter anything up for anyone who wasn't interested in seeing it. Usually I have terminal in another space, so I wouldn't have to shift context to make sure I'm in the right branch.
+2
You can easly do that in a plugin, and perhaps using the view status bar. You could add remote url, author name, branch, ...
+6
Actually I guess my main question should have "Enable title bar API hook so I can ..." prepended to it. Ideally this *would* be a plugin, but putting it down on the status bar would be too tiny, and more importantly, not permanent. It would only come up for a few seconds after invoking sublime.status_message().
-1
That's not right. You can use view.set_status()
+3
Should be a plugin. Making something specifically for each version control tool would clutter ST.
+4
Actually I guess my main question should have "Enable title bar API hook so I can ..." prepended to it. Ideally this *would* be a plugin
+3
It should be "Enable title bar API hook", yeah. This can be useful when you want to prepend some information about files or projects yourself when handling with multiple windows as the title is the medium you are working with.
So, +1.

I agree it should be provided by a git plugin