Skip to content

Title bar: show git branch information #20016

Closed

Description

Related to #1723, make it possible to show the current branch name in the window title.

Activity

  1. added
    feature-request
    on Feb 6, 2017
  2. tommck commented on Feb 15, 2017

    @tommck

    I know TFS isn't a first-class citizen in the VS Code world, but it would be nice to have similar functionality for TFS as well

  3. bpasero commented on Feb 24, 2017

    @bpasero
    ContributorAuthor

    I think this is similar to being able to show some SCM status in the explorer: We need a generic enough ISCMService that we can use everywhere to make these calls, not specific to git or any other SCM system used. Of course some systems might not have the concept of a branch.

    /cc João Moreno (@joaomoreno)

  4. SailorMax commented on Oct 26, 2017

    @SailorMax

    Also it would be nice to see current branch name in title of "Source Control" panel, before "Commit" button.
    Sometimes when work with few branches at the same time can make changes in wrong branch. This information has to be before eyes on commit. Looks at bottom of window or any other place not always work.

  5. added
    titlebar
    and removed on Nov 16, 2017
  6. added
    scm
    on Dec 3, 2017
  7. Deathhush commented on Mar 28, 2018

    @Deathhush

    Is there any update on this item? Showing the current branch name in the title of source control panel will be very helpful. In Git, people typically work with multiple branches. Benjamin Pasero (@bpasero)

  8. SailorMax commented on Mar 28, 2018

    @SailorMax

    Deathhush Not great, but solution - new setting "scm.alwaysShowProviders": true

  9. joaomoreno commented on Sep 14, 2018

    @joaomoreno
    Contributor

    Going for "scm.alwaysShowProviders": true instead, in this way you always have that information at a glance as well as a few useful context actions. 👍

  10. rafareino commented on Sep 14, 2018

    @rafareino

    I am a free lancer, and sometimes I do multiple projects to the same company (in different efforts) and need to be able to properly track the amount of time I spent in each project.

    RescueTime/ActivityWatch/ProcrastriTracker among others track my time usage true capturing my active window name regularly.

    Would be great if we could have some free form terminal command to be run regularly (once a few minutes) and updating a variable to be included in the customized tittle bar. I recognize that I have a very edge use case, but would be great if we could embrace it.

    Thoughtfully

  11. locked and limited conversation to collaborators on Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestscmtitlebar

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions