I keep multiple clones of the same repository open in one folder, and open files from multiple clones at once. Over time, I have files from different clones and branches open as tabs in the same Sublime window. For example:
/path/to/repo/cloneA/foo/bar/baz.txt
/path/to/repo/cloneA/foo/baz/bar.py
/path/to/repo/cloneB/foo/bar/baz.txt
/path/to/repo/cloneC/foo/spam/blah.cpp
It would be helpful to have a visual indication of which clone a given file belonged to. I can tell the difference between the two tabs where baz.txt is open; they’ll say cloneA and cloneB in the title. But I want a way to quickly tell which clone the other files belong to. For example, showing “cloneX” in the tab title or coloring all tabs belonging to cloneX the same color.
Does anyone know whether there are tools in the API to build such a plugin?