Skip to content

Commit

Permalink
Fix issue where Accept/Reject All only accepts/rejects a single diff …
Browse files Browse the repository at this point in the history
…hunk. (#1197)
  • Loading branch information
kiates authored and sestinj committed Jun 23, 2024
1 parent 132e278 commit 225bde9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/vscode/src/lang-server/codeLens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class VerticalPerLineCodeLensProvider implements vscode.CodeLensProvider {
codeLenses.push(
new vscode.CodeLens(range, {
title: `Accept All (${getMetaKeyLabel()}⇧↩)`,
command: "continue.acceptVerticalDiffBlock",
command: "continue.acceptDiff",
arguments: [filepath, i],
}),
new vscode.CodeLens(range, {
title: `Reject All (${getMetaKeyLabel()}⇧⌫)`,
command: "continue.rejectVerticalDiffBlock",
command: "continue.rejectDiff",
arguments: [filepath, i],
}),
);
Expand Down

0 comments on commit 225bde9

Please sign in to comment.