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

Git: Stage Block from command menu is not staging a block #211915

Open
PawelWozniak opened this issue May 3, 2024 · 3 comments
Open

Git: Stage Block from command menu is not staging a block #211915

PawelWozniak opened this issue May 3, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug diff-editor Diff editor mode issues
Milestone

Comments

@PawelWozniak
Copy link

PawelWozniak commented May 3, 2024

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

  • VS Code Version: 1.89.0
  • OS Version: Windows 11 23H2

Steps to Reproduce:

  1. Create a file with about 20 lines and commit it.
  2. Change 3-5 lines together in two different places in that file.
  3. Preview changes.
  4. Click Next Change (Alt+F5) to select a block of changes, cursor is visible at the beginning of the first row.
  5. Open the Command menu (F1) and type Git: Stage Block and hit enter.
  6. Nothing happens, block is not staged.
  7. Do the same operation but by clicking the + symbol next to a block, it is added.

As a user, I expect that the command and the + symbol have the same functionality.

2024-05-03_11h08_42
@VSCodeTriageBot
Copy link
Collaborator

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

Happy Coding!

@PawelWozniak
Copy link
Author

Hi @lszomoru is it doable?
I am using Stream Deck with binded commands for next, previous, and "Stage Block" which gives me great speed improvement in staging changes despite this Stage Block not working.
2024-05-20_15h30_03

@lszomoru lszomoru assigned hediet and unassigned lszomoru May 27, 2024
@lszomoru
Copy link
Member

@hediet, could you please take a look at this one? Thank you!

@hediet hediet added bug Issue identified by VS Code Team member as probable bug diff-editor Diff editor mode issues labels May 27, 2024
@hediet hediet added this to the June 2024 milestone May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug diff-editor Diff editor mode issues
Projects
None yet
Development

No branches or pull requests

4 participants