Skip to content

BranchActions dialog #1607

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

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from
Draft

BranchActions dialog #1607

wants to merge 21 commits into from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jun 22, 2025

An attempt to reduce the click requirement of common branch actions like checkout and to make it more keyboard friendly. Potentially could be more discoverable by linking to a button in the UI.

The existing hot-key <Ctrl>B now raises a dialog for all branch actions (some not yet implemented).

  • Implement checkout branch (local)
  • Implement checkout branch (remote)
  • Implement Create New Branch
  • Show recently used branches
  • Implement other actions - maybe left to other PRs

Screenshot from 2025-06-22 19 37 03

The list of branches includes categories "Recent", "Local" and "Remote" in alphabetical order and is filtered on names containing the entry text.

The "Checkout" action is the first page in a stack linked to a StackSidebar.

"Recent" branches only contains branches checked out in the current session of Code but may be persisted later.

Partially fixes #1577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quickly open recently worked on projects/branches
1 participant