Skip to content

git: add stash submenu to Changes view context menu#287964

Open
AndyBodnar wants to merge 1 commit intomicrosoft:mainfrom
AndyBodnar:feat/scm-stash-actions-281005
Open

git: add stash submenu to Changes view context menu#287964
AndyBodnar wants to merge 1 commit intomicrosoft:mainfrom
AndyBodnar:feat/scm-stash-actions-281005

Conversation

@AndyBodnar
Copy link
Copy Markdown

Hey, noticed that the new Stashes list has all the nice stash actions in the context menu, but the Changes/Staged/Untracked views were missing them entirely. Seemed like an oversight since you'd expect to be able to stash directly from where you're looking at your changes.

This just adds the existing git.stash submenu to those resource group context menus so users don't have to go hunting for stash options when they're already looking at their working tree.

Tested locally - the submenu shows up correctly on all three resource groups (Changes, Staged Changes, Untracked Changes) and all the existing stash actions work as expected.

Fixes #281005

Adds the Stash submenu to the context menu for SCM resource groups
(Changes, Staged Changes, Untracked Changes). This brings stash
actions (Stash, Stash Staged, Apply, Pop, Drop) to the Changes view,
mirroring the existing functionality in the Stashes list.

Fixes microsoft#281005
@vs-code-engineering
Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • extensions/git/package.json

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.

Git - Bring more stash actions into the other SCM views

2 participants