File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 21932193 "explorer/context" : [
21942194 {
21952195 "command" : " gitlens.openFileInRemote" ,
2196- "when" : " gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote" ,
2196+ "when" : " !explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && gitlens:hasRemotes && config.gitlens.advanced.menus.explorerContext.remote" ,
21972197 "group" : " navigation@100"
21982198 },
21992199 {
22002200 "command" : " gitlens.diffWithPrevious" ,
2201- "when" : " gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff" ,
2201+ "when" : " !explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff" ,
22022202 "group" : " 1_gitlens@1"
22032203 },
22042204 {
22052205 "command" : " gitlens.diffWithWorking" ,
2206- "when" : " gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff" ,
2206+ "when" : " !explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.fileDiff" ,
22072207 "group" : " 1_gitlens@2"
22082208 },
22092209 {
22102210 "command" : " gitlens.showQuickFileHistory" ,
2211- "when" : " gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history" ,
2211+ "when" : " !explorerResourceIsRoot && !explorerResourceIsFolder && gitlens:enabled && config.gitlens.advanced.menus.explorerContext.history" ,
22122212 "group" : " 1_gitlens_1@1"
22132213 }
22142214 ],
You can’t perform that action at this time.
0 commit comments