Options for main window title bar
I often have multiple SmartGit windows open for various projects. Being able to find which window I am looking for is currently a bit difficult since they are all called "SmartGit <version>". Previously the number of open repos was listed in the Title Bar but this has been removed for a while now.
I would like the ability to change the name shown in the title bar (even if I need to customise it manually). Ideally I would like SmartGit to do some of this automatically (though I understand this can be a difficult problem, especially when multiple repos are open).
Given the following structure
<root> + Folder1 + SubFolder1 + SubSubFolder1 - Repo1 - Repo2 + SubFolder2 + SubSubFolder2 - Repo3 - Repo4 + Folder2 + SubFolder1 + SubSubFolder1 - Repo5 - Repo6 + SubFolder2 + SubSubFolder1 - Repo7 - Repo8 - Repo9 - Repo10 - Repo 11
Some possibilities I have thought of (using the above):
- Only one repo open - Name of the repo with the folder containing it after:
- Repo1: "Repo1 in Folder1\SubFolder1\SubSubFolder1"
- Repo9: "Repo9 in Folder2\SubFolder2"
- Repo11: "Repo11" (since it is in root, i.e. not in folder)
- Multiple Repos - Find the highest level folder that contains all the repos and use that folder in the title with the number of open repos:
- If Repo1-2 are open: "SubSubFolder1 in Folder1\SubFolder1 (2 Repos)"
- If Repo1-4 are open: "SubFolder1 in Folder1 (4 Repos)"
- If Repo1, Repo2 are open: "SubFolder1 in Folder1 (2 Repos)"
- If Repo1-11 are open: "11 Repos"
- If Repo1, Repo3, Repo10 are open: "3 Repos"
- If Repo5, Repo9, Repo10 are open: "Folder2 (3 Repos)"
Ideally I would like this to be first in the title bar to make navigating from the taskbar (or alt tab) easier, "<Custom Name> - SmartGit <version>", e.g. "Repo9 in Folder2\SubFolder2 - SmartGit 24.1"
Hopefully I have gotten the idea of what I want across. Note that I use the "Working tree (file oriented)" view primarily and the above proposal is with that in mind so I am not sure of the ramifications for the Standard or Log graph views (though I presume something similar could be done there, maybe with the focused tab/log added as well).
Customer support service by UserEcho
Chris,
I am following and I understand what your are saying.
My observation is that all 3 Windows show the currently active Repo in the title bar. I tried with 24.1 and the very early 25.1 preview.
Only If you have multiple Repos opened in Log or Working Tree Window there is no more idication which Repos are open.
Cheers
Daniel
Hi, Daniel, thanks for the response!
One of the main reasons I use SmartGit personally (and convinced my company to purchase 20+ licences) is that you can work with multiple repos at the same time. This allows me to have all the repos for a project (i.e. all libraries, application, etc.) open at the same time so I spend most of my time with multiple repos open. (Incidentally, this is why the new standard view does not work for me.)
Being able to commit to multiple repositories at the same time is incredibly useful for us. For better or worse, some of our projects consist of >100 repos (mostly libraries). I also generally have multiple SmartGit windows open - one for each of the projects and this is the reason I am keen to have the title bar info - so that I can distinguish which window corresponds to which project when, for example, using Alt+Tab.
While the title shows the active repo when only one is selected, I very rarely work on only one repo and usually have a folder selected (quickly thrown together, contrived example shown below, but in this case I would have liked "ProtoDomainObjects" to appear in the title bar since that is the folder that has open repos in this window):
As an aside, if would be great if selecting multiple files for committing/staging in the File view worked for nested folders too ;-)