mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 01:25:43 -05:00
Adds diffWithPrevious to editor context menu
Adds diffWithWorking to editor context menu Renames diffWithPrevious for better clarity with new behavior Renames diffWithWorking, diffLineWithPrevious, & diffLineWithWorking for better clarity
This commit is contained in:
18
package.json
18
package.json
@@ -309,22 +309,22 @@
|
||||
"commands": [
|
||||
{
|
||||
"command": "gitlens.diffWithPrevious",
|
||||
"title": "Diff Commit with Previous",
|
||||
"title": "Compare with Previous Commit",
|
||||
"category": "GitLens"
|
||||
},
|
||||
{
|
||||
"command": "gitlens.diffLineWithPrevious",
|
||||
"title": "Diff Commit (line) with Previous",
|
||||
"title": "Compare Line with Previous Commit",
|
||||
"category": "GitLens"
|
||||
},
|
||||
{
|
||||
"command": "gitlens.diffWithWorking",
|
||||
"title": "Diff Commit with Working Tree",
|
||||
"title": "Compare with Working Tree",
|
||||
"category": "GitLens"
|
||||
},
|
||||
{
|
||||
"command": "gitlens.diffLineWithWorking",
|
||||
"title": "Diff Commit (line) with Working Tree",
|
||||
"title": "Compare Line with Working Tree",
|
||||
"category": "GitLens"
|
||||
},
|
||||
{
|
||||
@@ -499,6 +499,16 @@
|
||||
"when": "editorTextFocus && gitlens:enabled",
|
||||
"group": "1_gitlens@3"
|
||||
},
|
||||
{
|
||||
"command": "gitlens.diffWithPrevious",
|
||||
"when": "editorTextFocus && config.gitlens.menus.diff.enabled && gitlens:enabled",
|
||||
"group": "1_gitlens-file@1"
|
||||
},
|
||||
{
|
||||
"command": "gitlens.diffWithWorking",
|
||||
"when": "editorTextFocus && config.gitlens.menus.diff.enabled && gitlens:enabled",
|
||||
"group": "1_gitlens-file@2"
|
||||
},
|
||||
{
|
||||
"command": "gitlens.toggleBlame",
|
||||
"when": "editorTextFocus && gitlens:enabled",
|
||||
|
||||
Reference in New Issue
Block a user