mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add Notebook <-> SQL convert (#11590)
* Add Notebook <-> SQL convert * Update STS
This commit is contained in:
@@ -21,6 +21,18 @@
|
||||
},
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "mssql.exportSqlAsNotebook",
|
||||
"title": "%mssql.exportSqlAsNotebook%"
|
||||
},
|
||||
{
|
||||
"command": "mssql.exportNotebookToSql",
|
||||
"title": "%mssql.exportNotebookToSql%",
|
||||
"icon": {
|
||||
"dark": "resources/dark/export_blue_dark.svg",
|
||||
"light": "resources/light/export_blue_light.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "mssqlCluster.uploadFiles",
|
||||
"title": "%mssqlCluster.uploadFiles%"
|
||||
@@ -355,6 +367,14 @@
|
||||
},
|
||||
"menus": {
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "mssql.exportSqlAsNotebook",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "mssql.exportNotebookToSql",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "mssqlCluster.uploadFiles",
|
||||
"when": "false"
|
||||
@@ -450,6 +470,12 @@
|
||||
"when": "nodeType == mssqlCluster:file && nodeSubType =~/:spark:/",
|
||||
"group": "1mssqlCluster@6"
|
||||
}
|
||||
],
|
||||
"notebook/toolbar": [
|
||||
{
|
||||
"command": "mssql.exportNotebookToSql",
|
||||
"when": "providerId == sql"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dashboard": {
|
||||
|
||||
Reference in New Issue
Block a user