Browse Source

Fixes incorrect regex change

main
Eric Amodio 1 year ago
parent
commit
e2933ed3a3
1 changed files with 11 additions and 11 deletions
  1. +11
    -11
      package.json

+ 11
- 11
package.json View File

@ -7243,7 +7243,7 @@
"title": "Swap Comparison",
"category": "GitLens",
"icon": "$(arrow-swap)",
"enablement": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\b\\+working\\b)/"
"enablement": "viewItem =~ /gitlens:compare:results(?!:)\\b(?!.*?\\b\\+working\\b)/"
},
{
"command": "gitlens.views.searchAndCompare.setFilesFilterOnLeft",
@ -12930,7 +12930,7 @@
},
{
"command": "gitlens.views.searchAndCompare.swapComparison",
"when": "viewItem =~ /gitlens:compare:results\\b/",
"when": "viewItem =~ /gitlens:compare:results(?!:)\\b/",
"group": "inline@1"
},
{
@ -12945,47 +12945,47 @@
},
{
"command": "gitlens.views.refreshNode",
"when": "viewItem =~ /gitlens:compare:(branch(?=.*?\\b\\+comparing\\b)|results)\\b/",
"when": "viewItem =~ /gitlens:compare:(branch(?=.*?\\b\\+comparing\\b)|results(?!:))\\b/",
"group": "inline@97"
},
{
"command": "gitlens.views.refreshNode",
"when": "viewItem =~ /gitlens:search:results\\b/",
"when": "viewItem =~ /gitlens:search:results(?!:)\\b/",
"group": "inline@97"
},
{
"command": "gitlens.views.setResultsCommitsFilterOff",
"when": "viewItem =~ /gitlens:compare:(results|branch)\\b(?=.*?\\b\\+filtered\\b)/",
"when": "viewItem =~ /gitlens:compare:(results(?!:)|branch)\\b(?=.*?\\b\\+filtered\\b)/",
"group": "inline@96"
},
{
"command": "gitlens.views.searchAndCompare.swapComparison",
"when": "viewItem =~ /gitlens:compare:results\\b(?!.*?\\b\\+working\\b)/",
"when": "viewItem =~ /gitlens:compare:results(?!:)\\b(?!.*?\\b\\+working\\b)/",
"group": "1_gitlens_actions@2"
},
{
"command": "gitlens.views.openDirectoryDiff",
"when": "viewItem =~ /gitlens:compare:results\\b/",
"when": "viewItem =~ /gitlens:compare:results(?!:)\\b/",
"group": "2_gitlens_quickopen@1"
},
{
"command": "gitlens.views.setResultsCommitsFilterOff",
"when": "viewItem =~ /gitlens:compare:(results|branch)\\b(?=.*?\\b\\+filtered\\b)/",
"when": "viewItem =~ /gitlens:compare:(results(?!:)|branch)\\b(?=.*?\\b\\+filtered\\b)/",
"group": "7_gitlens_filter@1"
},
{
"command": "gitlens.views.setResultsCommitsFilterAuthors",
"when": "viewItem =~ /gitlens:compare:(results|branch)\\b/",
"when": "viewItem =~ /gitlens:compare:(results(?!:)|branch)\\b/",
"group": "7_gitlens_filter@2"
},
{
"command": "gitlens.views.editNode",
"when": "viewItem =~ /gitlens:search:results\\b/",
"when": "viewItem =~ /gitlens:search:results(?!:)\\b/",
"group": "inline@1"
},
{
"command": "gitlens.views.editNode",
"when": "viewItem =~ /gitlens:search:results\\b/",
"when": "viewItem =~ /gitlens:search:results(?!:)\\b/",
"group": "1_gitlens_actions@1"
},
{

Loading…
Cancel
Save