Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCM Working Set - persist pinned tabs when switching branches #214625

Open
trevordunn opened this issue Jun 7, 2024 · 0 comments
Open

SCM Working Set - persist pinned tabs when switching branches #214625

trevordunn opened this issue Jun 7, 2024 · 0 comments
Assignees
Labels
feature-request Request for new features or functionality scm General SCM compound issues
Milestone

Comments

@trevordunn
Copy link

I love the new Working Sets feature (#35307) - nice work! In particular I like setting mine to "scm.workingSets.default": "empty" so I have a fresh slate when switching branches, though it'd be nice if there was a way to persist the pinned tabs when switching branches since the files I have there tend to be ones I need to reference across branches.

I see two approaches to this, in order of preference:

  1. Add another setting named something like "scm.workingSets.persistPins": true where pinned tabs are maintained globally across working sets. If you close/open a pinned tab in one working set, it will remain closed/opened when switching working sets.
  2. Add a third scm.workingSets.default option named something like pinned. This would carry forward just the pinned tabs I have in the current working set if the switched branch doesn't have a working set yet. I don't like this one as much because it means working sets won't always have the same set of pinned tabs when I add/remove pins.
@lszomoru lszomoru added scm General SCM compound issues feature-request Request for new features or functionality labels Jun 9, 2024
@lszomoru lszomoru added this to the Backlog milestone Jun 9, 2024
@lszomoru lszomoru changed the title Git: Add option to persist pinned tabs when switching branches SCM Working Set - persist pinned tabs when switching branches Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality scm General SCM compound issues
Projects
None yet
Development

No branches or pull requests

2 participants