Last active
August 29, 2015 14:01
-
-
Save OsirisTerje/ed23ec78720c7517ec5e to your computer and use it in GitHub Desktop.
VS Title changer information for Git, for extension http://visualstudiogallery.msdn.microsoft.com/2e8ebfe4-023f-4c4d-9b7a-d05bbc5cb239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (sln_open) { | |
sln_filename + (exec git_branch 5 "git rev-parse --abbrev-ref HEAD" sln_dir ? " git["+git_branch+"]") + " "+sln_dir + (exec git_rem 5 "git remote " sln_dir ? " Rems:["+git_rem+"]") | |
+" "+(exec git_stat 5 "git status -s" sln_dir ? "Status:["+git_stat+"]") | |
} else { | |
"VS" + vs_version | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing
Install from http://visualstudiogallery.msdn.microsoft.com/2e8ebfe4-023f-4c4d-9b7a-d05bbc5cb239
Setup
Go to Tools/Options, locate the VS Window Title Changer/Settings
Select TitleSetup, press the (...) button
Add the gist above to the Edit window and press Ok