Stage selected lines in a Git diff with fewer clicks.
Preview
Usage
Open a Git diff in VS Code.
Select the part of the changed text you want to stage.
Wait briefly for the popup to appear.
Click Stage Selected Ranges.
The extension calls VS Code's built-in git.stageSelectedRanges command and leaves normal file selection behavior unchanged outside supported diff contexts.
Requirements
VS Code 1.90.0 or later
built-in Git extension enabled
a diff context where Stage Selected Ranges is actually available