Add Notebook <-> SQL convert (#11590)

* Add Notebook <-> SQL convert

* Update STS
This commit is contained in:
Charles Gagnon
2020-08-03 14:50:24 -07:00
committed by GitHub
parent fbbb9ce529
commit 694f34a4cd
17 changed files with 248 additions and 7 deletions

View File

@@ -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": {