mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Adding inline actions to OE (#23101)
This commit is contained in:
@@ -60,12 +60,14 @@
|
||||
{
|
||||
"command": "mssql.newTable",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.newTable%"
|
||||
"title": "%title.newTable%",
|
||||
"icon": "$(add)"
|
||||
},
|
||||
{
|
||||
"command": "mssql.designTable",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.designTable%"
|
||||
"title": "%title.designTable%",
|
||||
"icon": "$(edit)"
|
||||
},
|
||||
{
|
||||
"command": "mssql.changeNotebookConnection",
|
||||
@@ -75,17 +77,20 @@
|
||||
{
|
||||
"command": "mssql.newObject",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.newObject%"
|
||||
"title": "%title.newObject%",
|
||||
"icon": "$(add)"
|
||||
},
|
||||
{
|
||||
"command": "mssql.objectProperties",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.objectProperties%"
|
||||
"title": "%title.objectProperties%",
|
||||
"icon": "$(edit)"
|
||||
},
|
||||
{
|
||||
"command": "mssql.deleteObject",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.deleteObject%"
|
||||
"title": "%title.deleteObject%",
|
||||
"icon": "$(trash)"
|
||||
},
|
||||
{
|
||||
"command": "mssql.renameObject",
|
||||
@@ -525,6 +530,33 @@
|
||||
{
|
||||
"command": "mssql.disableGroupBySchema",
|
||||
"when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && config.mssql.objectExplorer.groupBySchema"
|
||||
},
|
||||
{
|
||||
"command": "mssql.designTable",
|
||||
"when": "connectionProvider == MSSQL && nodeType == Table && nodeSubType != LedgerDropped",
|
||||
"group": "inline@2",
|
||||
"isDefault": true
|
||||
},
|
||||
{
|
||||
"command": "mssql.newTable",
|
||||
"when": "connectionProvider == MSSQL && nodeType == Folder && objectType == Tables",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "mssql.newObject",
|
||||
"when": "connectionProvider == MSSQL && nodeType == Folder && objectType =~ /^(ServerLevelLogins|Users|ServerLevelServerRoles|ApplicationRoles|DatabaseRoles)$/ && config.workbench.enablePreviewFeatures",
|
||||
"group": "inline@0"
|
||||
},
|
||||
{
|
||||
"command": "mssql.objectProperties",
|
||||
"when": "connectionProvider == MSSQL && nodeType =~ /^(ServerLevelLogin|User|ServerLevelServerRole|ApplicationRole|DatabaseRole)$/ && config.workbench.enablePreviewFeatures",
|
||||
"group": "inline@2",
|
||||
"isDefault": true
|
||||
},
|
||||
{
|
||||
"command": "mssql.deleteObject",
|
||||
"when": "connectionProvider == MSSQL && nodeType =~ /^(ServerLevelLogin|User|ServerLevelServerRole|ApplicationRole|DatabaseRole|Database)$/ && config.workbench.enablePreviewFeatures",
|
||||
"group": "inline@3"
|
||||
}
|
||||
],
|
||||
"dataExplorer/context": [
|
||||
|
||||
Reference in New Issue
Block a user