mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Adding group by schema button to OE (#22083)
This commit is contained in:
@@ -95,12 +95,38 @@
|
||||
{
|
||||
"command": "mssql.enableGroupBySchema",
|
||||
"category": "MSSQL",
|
||||
"title": "%mssql.objectExplorer.enableGroupBySchema%"
|
||||
"title": "%mssql.objectExplorer.enableGroupBySchema%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/groupBySchemaEnabled_inverse.svg",
|
||||
"light": "resources/light/groupBySchemaEnabled.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "mssql.disableGroupBySchema",
|
||||
"category": "MSSQL",
|
||||
"title": "%mssql.objectExplorer.disableGroupBySchema%"
|
||||
"title": "%mssql.objectExplorer.disableGroupBySchema%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/groupBySchemaDisabled_inverse.svg",
|
||||
"light": "resources/light/groupBySchemaDisabled.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "mssql.enableGroupBySchemaTitle",
|
||||
"category": "MSSQL",
|
||||
"title": "%mssql.objectExplorer.enableGroupBySchemaTitle%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/groupBySchemaEnabled_inverse.svg",
|
||||
"light": "resources/light/groupBySchemaEnabled.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "mssql.disableGroupBySchemaTitle",
|
||||
"category": "MSSQL",
|
||||
"title": "%mssql.objectExplorer.disableGroupBySchemaTitle%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/groupBySchemaDisabled_inverse.svg",
|
||||
"light": "resources/light/groupBySchemaDisabled.svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"outputChannels": [
|
||||
@@ -541,6 +567,18 @@
|
||||
"command": "mssql.exportNotebookToSql",
|
||||
"when": "config.workbench.enablePreviewFeatures && providerId == sql"
|
||||
}
|
||||
],
|
||||
"view/title": [
|
||||
{
|
||||
"command": "mssql.enableGroupBySchemaTitle",
|
||||
"when": "view == dataExplorer.servers && !config.mssql.objectExplorer.groupBySchema",
|
||||
"group": "navigation@4"
|
||||
},
|
||||
{
|
||||
"command": "mssql.disableGroupBySchemaTitle",
|
||||
"when": "view == dataExplorer.servers && config.mssql.objectExplorer.groupBySchema",
|
||||
"group": "navigation@5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dashboard": {
|
||||
|
||||
Reference in New Issue
Block a user