vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Git viewAllChanges command not working with shortcut

Open carseven opened this issue 1 year ago • 2 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.86.2 arm64
  • OS Version: macOS Sonoma 14.2.1

Git viewAllChanges is working with the UI but not with a shortcut. image

When launching the command with a shortcut, is not working.

Steps to Reproduce:

  1. Create a shortcut with the viewAllChanges command Example of shortcut
[
    {
      "comment": "Open view all changes",
      "key": "ctrl+shift+alt+g d",
      "command": "git.viewAllChanges"
   }
]
  1. Press shortcut key combination and the result is the command not being launch.

PD: I the last release version 1.85 this command was working, but the name has been changed in version 1.86.2 So I guess probably has broken in the new release 1.86.2 Old command:

[
    {
      "comment": "Open view all changes",
      "key": "ctrl+shift+alt+g d",
      "command": "git.viewChanges"
   }
]

carseven avatar Feb 18 '24 19:02 carseven

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

vscodenpa avatar Feb 18 '24 19:02 vscodenpa

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

My mistake, I am using version 1.86.2 image

carseven avatar Feb 18 '24 19:02 carseven

@carseven, please try the latest VS Code Insiders release and we have added couple of new commands that work with keybindings:

  • git.viewChanges
  • git.viewStagedChanges
  • git.viewUntrackedChanges

lszomoru avatar Apr 10 '24 13:04 lszomoru

Tested the keybinding for git.viewChanges and it works.

andreamah avatar Apr 24 '24 22:04 andreamah