|
|
@ -355,79 +355,91 @@ |
|
|
|
"command": "gitlens.showQuickRepoHistory", |
|
|
|
"title": "Show Repository History", |
|
|
|
"category": "GitLens" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.copyShaToClipboard", |
|
|
|
"title": "Copy Commit Sha to Clipboard", |
|
|
|
"category": "GitLens" |
|
|
|
} |
|
|
|
], |
|
|
|
"menus": { |
|
|
|
"explorer/context": [ |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"when": "config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "2_gitlens-file" |
|
|
|
"command": "gitlens.showQuickFileHistory", |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "gitlens" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithPrevious", |
|
|
|
"when": "config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "2_gitlens-file" |
|
|
|
"group": "gitlens_diff" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showQuickFileHistory", |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "3_gitlens-file" |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"when": "config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "gitlens_diff" |
|
|
|
} |
|
|
|
], |
|
|
|
"editor/title": [ |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"when": "config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "2_gitlens" |
|
|
|
"command": "gitlens.toggleBlame", |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "1_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showQuickFileHistory", |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "1_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithPrevious", |
|
|
|
"when": "config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "2_gitlens" |
|
|
|
"group": "1_gitlens_diff" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showQuickFileHistory", |
|
|
|
"when": "editorTextFocus && config.git.enabled", |
|
|
|
"group": "3_gitlens" |
|
|
|
}, |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"when": "config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "1_gitlens_diff" |
|
|
|
} |
|
|
|
], |
|
|
|
"editor/title/context": [ |
|
|
|
{ |
|
|
|
"command": "gitlens.toggleBlame", |
|
|
|
"when": "editorTextFocus && config.git.enabled", |
|
|
|
"group": "3_gitlens" |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showQuickFileHistory", |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "gitlens@2" |
|
|
|
} |
|
|
|
], |
|
|
|
"editor/context": [ |
|
|
|
{ |
|
|
|
"command": "gitlens.diffLineWithWorking", |
|
|
|
"when": "editorTextFocus && config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "2_gitlens@1.0" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffLineWithPrevious", |
|
|
|
"when": "editorTextFocus && config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "2_gitlens@1.1" |
|
|
|
"group": "1_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"command": "gitlens.diffLineWithWorking", |
|
|
|
"when": "editorTextFocus && config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "3_gitlens@1.0" |
|
|
|
"group": "1_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithPrevious", |
|
|
|
"when": "editorTextFocus && config.gitlens.menus.diff.enabled && config.git.enabled", |
|
|
|
"group": "3_gitlens@1.1" |
|
|
|
"command": "gitlens.toggleBlame", |
|
|
|
"when": "editorTextFocus && config.git.enabled", |
|
|
|
"group": "2_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showQuickFileHistory", |
|
|
|
"alt": "gitlens.showFileHistory", |
|
|
|
"when": "config.git.enabled", |
|
|
|
"group": "4_gitlens" |
|
|
|
"group": "2_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.toggleBlame", |
|
|
|
"command": "gitlens.copyShaToClipboard", |
|
|
|
"when": "editorTextFocus && config.git.enabled", |
|
|
|
"group": "4_gitlens" |
|
|
|
"group": "9_gitlens@1" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
@ -498,6 +510,7 @@ |
|
|
|
"vscode:prepublish": "tsc -p ./" |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"copy-paste": "^1.3.0", |
|
|
|
"ignore": "^3.2.2", |
|
|
|
"lodash.debounce": "^4.0.8", |
|
|
|
"lodash.escaperegexp": "^4.1.2", |
|
|
@ -508,6 +521,7 @@ |
|
|
|
"tmp": "^0.0.31" |
|
|
|
}, |
|
|
|
"devDependencies": { |
|
|
|
"@types/copy-paste": "^1.1.30", |
|
|
|
"@types/node": "^7.0.5", |
|
|
|
"@types/mocha": "^2.2.39", |
|
|
|
"@types/tmp": "^0.0.32", |
|
|
|