Fix context menu command condition (#2193)
This commit is contained in:
Родитель
29a48d0739
Коммит
abd685f54e
|
@ -697,7 +697,7 @@
|
|||
},
|
||||
{
|
||||
"command": "postgreSQL.deleteDatabase",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem == postgresDatabase",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem =~ /postgresDatabase(?![a-z])/i",
|
||||
"group": "1@2"
|
||||
},
|
||||
{
|
||||
|
@ -777,7 +777,7 @@
|
|||
},
|
||||
{
|
||||
"command": "postgreSQL.copyConnectionString",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem == postgresDatabase",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem =~ /postgresDatabase(?![a-z])/i",
|
||||
"group": "2@1"
|
||||
},
|
||||
{
|
||||
|
@ -817,7 +817,7 @@
|
|||
},
|
||||
{
|
||||
"command": "azureDatabases.refresh",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem == postgresDatabase",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem =~ /postgresDatabase(?![a-z])/i",
|
||||
"group": "3@1"
|
||||
},
|
||||
{
|
||||
|
@ -887,7 +887,7 @@
|
|||
},
|
||||
{
|
||||
"command": "postgreSQL.connectDatabase",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem == postgresDatabase",
|
||||
"when": "view =~ /azure(ResourceGroups|Workspace|FocusView)/ && viewItem =~ /postgresDatabase(?![a-z])/i",
|
||||
"group": "1@1"
|
||||
},
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче