Skip to content

[Feature] Assign consistent colors to the same branch name across all projects #657

Description

@dashiyouniubi

Use Case:
I work on multiple projects simultaneously, and each project has branches like main, develop, feature/xxx, etc. Currently, the plugin seems to assign colors to branch names inconsistently across different projects.
This makes it hard to quickly tell whether I'm on the correct branch when switching between projects.

Expected Behavior:
I'd like the same branch name to always use the same color across all projects. For example:

  • The main branch should always be red in every project
  • The develop branch should always be blue in every project
  • feature/xxx should always be green in every project
    
    This way, when I glance at the branch name in the status bar or gutter, I can immediately recognize it by color, regardless of which project I'm in. It helps prevent accidentally working on the wrong branch and reduces context-switching errors.
Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions