Visual Studio Code – Show current repo, rootfolder and active git branch in window title

To show current repo, rootfolder and active git branch in window title:

Open settings.json -> F1 -> Open User settings (JSON) -> and edit/insert this:

"window.title": "${dirty} ${activeRepositoryName} - ${rootName} [${activeRepositoryBranchName}]",

 

Leave a Reply

Your email address will not be published. Required fields are marked *