Browse Source

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
main
Eric Amodio 7 years ago
parent
commit
bf176301af
1 changed files with 14 additions and 4 deletions
  1. +14
    -4
      package.json

+ 14
- 4
package.json View File

@ -309,22 +309,22 @@
"commands": [ "commands": [
{ {
"command": "gitlens.diffWithPrevious", "command": "gitlens.diffWithPrevious",
"title": "Diff Commit with Previous",
"title": "Compare with Previous Commit",
"category": "GitLens" "category": "GitLens"
}, },
{ {
"command": "gitlens.diffLineWithPrevious", "command": "gitlens.diffLineWithPrevious",
"title": "Diff Commit (line) with Previous",
"title": "Compare Line with Previous Commit",
"category": "GitLens" "category": "GitLens"
}, },
{ {
"command": "gitlens.diffWithWorking", "command": "gitlens.diffWithWorking",
"title": "Diff Commit with Working Tree",
"title": "Compare with Working Tree",
"category": "GitLens" "category": "GitLens"
}, },
{ {
"command": "gitlens.diffLineWithWorking", "command": "gitlens.diffLineWithWorking",
"title": "Diff Commit (line) with Working Tree",
"title": "Compare Line with Working Tree",
"category": "GitLens" "category": "GitLens"
}, },
{ {
@ -500,6 +500,16 @@
"group": "1_gitlens@3" "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", "command": "gitlens.toggleBlame",
"when": "editorTextFocus && gitlens:enabled", "when": "editorTextFocus && gitlens:enabled",
"group": "2_gitlens@1" "group": "2_gitlens@1"

Loading…
Cancel
Save