File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
src/test/common/fixtures/gitdiff Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 866866 "title": "%command.review.openLocalFile.title%",
867867 "icon": "$(go-to-file)"
868868 },
869+ {
870+ "command": "review.suggestDiff",
871+ "title": "%command.review.suggestDiff.title%",
872+ "category": "%command.pull.request.category%"
873+ },
869874 {
870875 "command": "pr.refreshList",
871876 "title": "%command.pr.refreshList.title%",
16261631 "command": "pr.showDiffAll",
16271632 "when": "false"
16281633 },
1634+ {
1635+ "command": "review.suggestDiff",
1636+ "when": "false"
1637+ },
16291638 {
16301639 "command": "review.approve",
16311640 "when": "false"
23522361 }
23532362 ],
23542363 "scm/title": [
2364+ {
2365+ "command": "review.suggestDiff",
2366+ "when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposInReviewMode",
2367+ "group": "inline"
2368+ },
23552369 {
23562370 "command": "pr.create",
23572371 "when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposNotInReviewMode",
Original file line number Diff line number Diff line change 849849 "title": "%command.review.openLocalFile.title%",
850850 "icon": "$(go-to-file)"
851851 },
852+ {
853+ "command": "review.suggestDiff",
854+ "title": "%command.review.suggestDiff.title%",
855+ "category": "%command.pull.request.category%"
856+ },
852857 {
853858 "command": "pr.refreshList",
854859 "title": "%command.pr.refreshList.title%",
16141619 "command": "pr.showDiffAll",
16151620 "when": "false"
16161621 },
1622+ {
1623+ "command": "review.suggestDiff",
1624+ "when": "false"
1625+ },
16171626 {
16181627 "command": "review.approve",
16191628 "when": "false"
23402349 }
23412350 ],
23422351 "scm/title": [
2352+ {
2353+ "command": "review.suggestDiff",
2354+ "when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposInReviewMode",
2355+ "group": "inline"
2356+ },
23432357 {
23442358 "command": "pr.create",
23452359 "when": "scmProvider =~ /^git|^remoteHub:github/ && scmProviderRootUri in github:reposNotInReviewMode",
You can’t perform that action at this time.
0 commit comments