mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Move SQL 2019 extension's notebook code into Azure Data Studio (#4090)
This commit is contained in:
4
extensions/notebook/resources/jupyter_config/custom.js
Normal file
4
extensions/notebook/resources/jupyter_config/custom.js
Normal file
@@ -0,0 +1,4 @@
|
||||
// Make sure that all links load in the same tab
|
||||
define(['base/js/namespace'], function (Jupyter) {
|
||||
Jupyter._target = '_self';
|
||||
});
|
||||
@@ -0,0 +1,6 @@
|
||||
# Disable CSP in order to load Jupyter inside Azure Data Studio
|
||||
c.NotebookApp.tornado_settings = {
|
||||
'headers': {'Content-Security-Policy': ''}
|
||||
}
|
||||
|
||||
c.NotebookApp.open_browser = False
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"kernel_python_credentials": {
|
||||
"url": "",
|
||||
"auth": "None"
|
||||
},
|
||||
"kernel_scala_credentials": {
|
||||
"url": "",
|
||||
"auth": "None"
|
||||
},
|
||||
"kernel_r_credentials": {
|
||||
"url": "",
|
||||
"auth": "None"
|
||||
},
|
||||
"ignore_ssl_errors": true,
|
||||
"logging_config": {
|
||||
"version": 1,
|
||||
"formatters": {
|
||||
"magicsFormatter": {
|
||||
"format": "%(asctime)s\t%(levelname)s\t%(message)s",
|
||||
"datefmt": ""
|
||||
}
|
||||
},
|
||||
"handlers": {
|
||||
"magicsHandler": {
|
||||
"class": "hdijupyterutils.filehandler.MagicsFileHandler",
|
||||
"formatter": "magicsFormatter",
|
||||
"home_path": ""
|
||||
}
|
||||
},
|
||||
"loggers": {
|
||||
"magicsLogger": {
|
||||
"handlers": [
|
||||
"magicsHandler"
|
||||
],
|
||||
"level": "DEBUG",
|
||||
"propagate": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user