瀏覽代碼

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 年之前
父節點
當前提交
bf176301af
共有 1 個文件被更改,包括 14 次插入4 次删除
  1. +14
    -4
      package.json

+ 14
- 4
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"
},
{
@ -500,6 +500,16 @@
"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",
"group": "2_gitlens@1"

Loading…
取消
儲存