|
|
@ -951,6 +951,22 @@ |
|
|
|
"command": "gitlens.resetSuppressedWarnings", |
|
|
|
"title": "Reset Suppressed Warnings", |
|
|
|
"category": "GitLens" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.gitExplorer.refresh", |
|
|
|
"title": "Refresh", |
|
|
|
"icon": { |
|
|
|
"dark": "images/dark/icon-refresh.svg", |
|
|
|
"light": "images/light/icon-refresh.svg" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.stashExplorer.refresh", |
|
|
|
"title": "Refresh", |
|
|
|
"icon": { |
|
|
|
"dark": "images/dark/icon-refresh.svg", |
|
|
|
"light": "images/light/icon-refresh.svg" |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"menus": { |
|
|
@ -1098,6 +1114,14 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.resetSuppressedWarnings", |
|
|
|
"when": "gitlens:enabled" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.gitExplorer.refresh", |
|
|
|
"when": "gitlens:enabled" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.stashExplorer.refresh", |
|
|
|
"when": "gitlens:enabled" |
|
|
|
} |
|
|
|
], |
|
|
|
"editor/context": [ |
|
|
@ -1275,30 +1299,55 @@ |
|
|
|
], |
|
|
|
"view/title": [ |
|
|
|
{ |
|
|
|
"command": "gitlens.showQuickRepoHistory", |
|
|
|
"when": "gitlens:enabled && view == gitlens-explorer", |
|
|
|
"group": "1_gitlens@1" |
|
|
|
"command": "gitlens.gitExplorer.refresh", |
|
|
|
"when": "gitlens:enabled && view == gitlens.gitExplorer", |
|
|
|
"group": "navigation" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.stashExplorer.refresh", |
|
|
|
"when": "gitlens:enabled && view == gitlens.stashExplorer", |
|
|
|
"group": "navigation" |
|
|
|
} |
|
|
|
], |
|
|
|
"view/item/context": [ |
|
|
|
{ |
|
|
|
"command": "gitlens.openCommitInRemote", |
|
|
|
"when": "gitlens:enabled && view == gitlens-explorer && viewItem == commit", |
|
|
|
"when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit", |
|
|
|
"group": "1_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.openFileInRemote", |
|
|
|
"when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit-file", |
|
|
|
"group": "1_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithPrevious", |
|
|
|
"when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit-file", |
|
|
|
"group": "2_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"when": "gitlens:enabled && view == gitlens.gitExplorer && viewItem == commit-file", |
|
|
|
"group": "2_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.openCommitInRemote", |
|
|
|
"when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == stash-commit", |
|
|
|
"group": "1_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.openFileInRemote", |
|
|
|
"when": "gitlens:enabled && view == gitlens-explorer && viewItem == commit-file", |
|
|
|
"when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file", |
|
|
|
"group": "1_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithPrevious", |
|
|
|
"when": "gitlens:enabled && view == gitlens-explorer && viewItem == commit-file", |
|
|
|
"when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file", |
|
|
|
"group": "2_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.diffWithWorking", |
|
|
|
"when": "gitlens:enabled && view == gitlens-explorer && viewItem == commit-file", |
|
|
|
"when": "gitlens:enabled && view == gitlens.stashExplorer && viewItem == commit-file", |
|
|
|
"group": "2_gitlens@2" |
|
|
|
} |
|
|
|
] |
|
|
@ -1398,11 +1447,11 @@ |
|
|
|
"views": { |
|
|
|
"explorer": [ |
|
|
|
{ |
|
|
|
"id": "gitlens-explorer", |
|
|
|
"id": "gitlens.gitExplorer", |
|
|
|
"name": "GitLens Explorer" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"id": "gitstash-explorer", |
|
|
|
"id": "gitlens.stashExplorer", |
|
|
|
"name": "Git Stashes" |
|
|
|
} |
|
|
|
] |
|
|
|