Files
azuredatastudio/extensions/notebook/package.json
Chris LaFreniere 84b3e876d7 Notebook Performance Improvements to Cell Editing/Output Changes/Execution Count Changes (#6867)
* edit perf

* Save multiline source in notebooks

* More merges

* Single, multi line works needs work

* Works with single + multi and recomputes active

* Actual perf improvements this time

* code cleanup

* Calculating output position on the fly

* Hmm can we use brackets to make this simpler?

* monday progress

* output working. lots of improvements.

* First tests working

* 10 tests now, fixed bugs

* Cleanup, add output test

* More fixes

* Need to still fix execution count bug

* Tests pass, added comments

* Cleanup

* PR comments round 1

* Deal with merge issues from master, layering

* Deleting duplicate file

* More PR Comments

* PR Comments
2019-08-26 10:17:58 -07:00

404 lines
11 KiB
JSON

{
"name": "notebook",
"displayName": "%displayName%",
"description": "%description%",
"version": "0.1.0",
"publisher": "Microsoft",
"engines": {
"vscode": "*",
"azdata": "*"
},
"main": "./out/extension",
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "%notebook.configuration.title%",
"properties": {
"notebook.maxBookSearchDepth": {
"type": "number",
"default": 5,
"description": "%notebook.maxBookSearchDepth.description%"
},
"notebook.pythonPath": {
"type": "string",
"default": "",
"description": "%notebook.pythonPath.description%"
},
"notebook.useExistingPython": {
"type": "boolean",
"default": false,
"description": "%notebook.useExistingPython.description%"
},
"notebook.overrideEditorTheming": {
"type": "boolean",
"default": true,
"description": "%notebook.overrideEditorTheming.description%"
},
"notebook.maxTableRows": {
"type": "number",
"default": 5000,
"description": "%notebook.maxTableRows.description%"
}
}
},
"commands": [
{
"command": "notebook.command.analyzeNotebook",
"title": "%notebook.analyzeJupyterNotebook%"
},
{
"command": "_notebook.command.new",
"title": "%notebook.command.new%",
"icon": {
"dark": "resources/dark/new_notebook_inverse.svg",
"light": "resources/light/new_notebook.svg"
}
},
{
"command": "notebook.command.open",
"title": "%notebook.command.open%",
"icon": {
"dark": "resources/dark/open_notebook_inverse.svg",
"light": "resources/light/open_notebook.svg"
}
},
{
"command": "notebook.command.runactivecell",
"title": "%notebook.command.runactivecell%",
"icon": "resources/dark/touchbar_run_cell.png"
},
{
"command": "notebook.command.clearactivecellresult",
"title": "%notebook.command.clearactivecellresult%"
},
{
"command": "notebook.command.runallcells",
"title": "%notebook.command.runallcells%"
},
{
"command": "notebook.command.addcode",
"title": "%notebook.command.addcode%"
},
{
"command": "notebook.command.addtext",
"title": "%notebook.command.addtext%"
},
{
"command": "notebook.command.addcell",
"title": "%notebook.command.addcell%",
"icon": "resources/dark/touchbar_add_cell.png"
},
{
"command": "jupyter.cmd.analyzeNotebook",
"title": "%title.analyzeJupyterNotebook%"
},
{
"command": "jupyter.task.newNotebook",
"title": "%title.newJupyterNotebook%",
"icon": {
"dark": "resources/dark/new_notebook_inverse.svg",
"light": "resources/light/new_notebook.svg"
}
},
{
"command": "jupyter.task.openNotebook",
"title": "%title.openJupyterNotebook%",
"icon": {
"dark": "resources/dark/open_notebook_inverse.svg",
"light": "resources/light/open_notebook.svg"
}
},
{
"command": "jupyter.cmd.newNotebook",
"title": "%title.newJupyterNotebook%",
"icon": {
"dark": "resources/dark/new_notebook_inverse.svg",
"light": "resources/light/new_notebook.svg"
}
},
{
"command": "jupyter.cmd.managePackages",
"title": "%title.managePackages%",
"icon": {
"dark": "resources/dark/manage_inverse.svg",
"light": "resources/light/manage.svg"
}
},
{
"command": "jupyter.cmd.configurePython",
"title": "%title.configurePython%"
},
{
"command": "jupyter.reinstallDependencies",
"title": "%title.reinstallNotebookDependencies%"
},
{
"command": "books.sqlserver2019",
"title": "%title.SQL19PreviewBook%",
"category": "%books-preview-category%"
}
],
"languages": [
{
"id": "notebook",
"extensions": [
".ipynb"
],
"aliases": [
"Notebook"
],
"configuration": "./language-configuration.json"
}
],
"menus": {
"commandPalette": [
{
"command": "notebook.command.analyzeNotebook",
"when": "false"
},
{
"command": "_notebook.command.new",
"when": "false"
},
{
"command": "notebook.command.open"
},
{
"command": "notebook.command.runactivecell",
"when": "notebookEditorVisible"
},
{
"command": "notebook.command.clearactivecellresult",
"when": "notebookEditorVisible"
},
{
"command": "notebook.command.runallcells",
"when": "notebookEditorVisible"
},
{
"command": "notebook.command.addcode",
"when": "notebookEditorVisible"
},
{
"command": "notebook.command.addtext",
"when": "notebookEditorVisible"
},
{
"command": "notebook.command.addcell",
"when": "false"
},
{
"command": "jupyter.task.newNotebook",
"when": "false"
},
{
"command": "jupyter.cmd.newNotebook",
"when": "false"
},
{
"command": "jupyter.cmd.analyzeNotebook",
"when": "false"
},
{
"command": "jupyter.task.openNotebook",
"when": "false"
},
{
"command": "jupyter.cmd.managePackages",
"when": "false"
},
{
"command": "books.sqlserver2019",
"when": "sqlserver2019 && notebookQuality != stable"
}
],
"touchBar": [
{
"command": "notebook.command.runactivecell",
"when": "activeEditor == workbench.editor.notebookEditor",
"group": "1_notebook@1"
},
{
"command": "notebook.command.addcell",
"when": "activeEditor == workbench.editor.notebookEditor",
"group": "1_notebook@2"
}
],
"objectExplorer/item/context": [
{
"command": "notebook.command.analyzeNotebook",
"when": "nodeType=~/^mssqlCluster/ && nodeLabel=~/[^\\s]+(\\.(csv|tsv|txt))$/ && nodeType == mssqlCluster:file",
"group": "1notebook@1"
},
{
"command": "jupyter.cmd.newNotebook",
"when": "connectionProvider == HADOOP_KNOX && nodeType && nodeType == Server",
"group": "1root@1"
},
{
"command": "jupyter.cmd.analyzeNotebook",
"when": "nodeType=~/^hdfs/ && nodeLabel=~/[^\\s]+(\\.(csv|tsv|txt))$/ && nodeType == hdfs:file",
"group": "1notebook@1"
}
],
"notebook/toolbar": [
{
"command": "jupyter.cmd.managePackages",
"when": "providerId == jupyter && notebook:pythonInstalled"
}
]
},
"keybindings": [
{
"command": "notebook.command.runactivecell",
"key": "F5",
"when": "activeEditor == workbench.editor.notebookEditor"
},
{
"command": "notebook.command.clearactivecellresult",
"key": "Ctrl+Shift+R",
"when": "activeEditor == workbench.editor.notebookEditor"
},
{
"command": "notebook.command.runallcells",
"key": "Ctrl+Shift+F5",
"when": "activeEditor == workbench.editor.notebookEditor"
},
{
"command": "notebook.command.addcode",
"key": "Ctrl+Shift+C",
"when": "activeEditor == workbench.editor.notebookEditor"
},
{
"command": "notebook.command.addtext",
"key": "Ctrl+Shift+T",
"when": "activeEditor == workbench.editor.notebookEditor"
}
],
"notebook.languagemagics": [
{
"magic": "lang_python",
"language": "python",
"executionTarget": null,
"kernels": [
"sql"
]
},
{
"magic": "lang_r",
"language": "r",
"executionTarget": null,
"kernels": [
"sql"
]
},
{
"magic": "lang_java",
"language": "java",
"executionTarget": null,
"kernels": [
"sql"
]
}
],
"notebook.providers": {
"provider": "jupyter",
"fileExtensions": [
"IPYNB"
],
"standardKernels": [
{
"name": "pyspark3kernel",
"displayName": "PySpark3",
"connectionProviderIds": [
"HADOOP_KNOX",
"MSSQL"
]
},
{
"name": "pysparkkernel",
"displayName": "PySpark",
"connectionProviderIds": [
"HADOOP_KNOX",
"MSSQL"
]
},
{
"name": "sparkkernel",
"displayName": "Spark | Scala",
"connectionProviderIds": [
"HADOOP_KNOX",
"MSSQL"
]
},
{
"name": "sparkrkernel",
"displayName": "Spark | R",
"connectionProviderIds": [
"HADOOP_KNOX",
"MSSQL"
]
},
{
"name": "python3",
"displayName": "Python 3",
"connectionProviderIds": []
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "books-explorer",
"title": "Jupyter Books",
"icon": "resources/dark/JupyterBook_2.svg"
}
]
},
"views": {
"books-explorer": [
{
"id": "bookTreeView",
"name": "Books"
}
]
}
},
"dependencies": {
"@jupyterlab/services": "^3.2.1",
"@types/js-yaml": "^3.12.1",
"@types/rimraf": "^2.0.2",
"decompress": "^4.2.0",
"error-ex": "^1.3.1",
"fast-glob": "^3.0.4",
"figures": "^2.0.0",
"fs-extra": "^5.0.0",
"glob": "^7.1.1",
"node-fetch": "^2.3.0",
"request": "^2.88.0",
"temp-write": "^3.4.0",
"vscode-languageclient": "^5.3.0-next.1",
"vscode-nls": "^4.0.0"
},
"devDependencies": {
"@types/decompress": "^4.2.3",
"@types/fs-extra": "^5.0.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.5",
"@types/node": "^11.9.3",
"@types/request": "^2.48.1",
"@types/temp-write": "^3.3.0",
"@types/uuid": "^3.4.5",
"assert": "^1.4.1",
"mocha": "^5.2.0",
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"typemoq": "^2.1.0",
"vscode": "1.1.5"
},
"enableProposedApi": true
}