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

[BUG] Stage/Unstage/Revert selected changes does nothing in commit diff view. #14144

Open
Guusggg opened this issue Sep 6, 2024 · 2 comments
Labels
builtins Issues related to VS Code builtin extensions vscode issues related to VSCode compatibility

Comments

@Guusggg
Copy link

Guusggg commented Sep 6, 2024

Bug Description:

While trying to stage only some lines of a file that has multiple changes throughout, I'm unable to stage only the lines that I've selected. I use this a lot to split out my commits.

Steps to Reproduce:

  1. Make a couple changes in a file.
  2. Select (for example) only one line you would like to stage for commit.
  3. Right-click and select "Stage selected changes".
  4. Nothing happens.

Additional Information

  • Operating System: Windows 11
  • Theia Version: Version 1.52.0, VS Code API Version: 1.91.1

I'm sorry if this is not the right place, I just really love this project and would like to be able to use it as my main editor.

Thank you to all the contributors for an amazing product!

@tsmaeder
Copy link
Contributor

tsmaeder commented Sep 9, 2024

Browser log says

plugin-contribution-handler.ts:491 Uncaught (in promise) Error: command 'git.stageSelectedRanges' not found
    at Object.execute (plugin-contribution-handler.ts:491:27)
    at u.executeCommand (command.ts:341:42)
execute	@	plugin-contribution-handler.ts:491
executeCommand	@	command.ts:341

@tsmaeder tsmaeder added vscode issues related to VSCode compatibility builtins Issues related to VS Code builtin extensions labels Sep 13, 2024
@Guusggg
Copy link
Author

Guusggg commented Sep 24, 2024

Thank you @tsmaeder, I hadn't thought to put a log in there.

Would this be an issue that could be picked up by someone who would be new to contributing to this project? I wouldn't mind taking a stab to see if I can make a fix for this.

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtins Issues related to VS Code builtin extensions vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

2 participants