{ "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.pythonPath": { "type": "string", "default": "", "description": "%notebook.pythonPath.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%" }, { "command": "notebook.command.addcode", "title": "%notebook.command.addcode%" }, { "command": "notebook.command.addtext", "title": "%notebook.command.addtext%" }, { "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.installPackages", "title": "%title.installPackages%", "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%" } ], "languages": [ { "id": "notebook", "extensions": [ ".ipynb" ], "aliases": [ "Notebook" ] } ], "menus": { "commandPalette": [ { "command": "notebook.command.analyzeNotebook", "when": "false" }, { "command": "notebook.command.new" }, { "command": "notebook.command.open" }, { "command": "notebook.command.runactivecell", "when": "notebookEditorVisible" }, { "command": "notebook.command.addcode", "when": "notebookEditorVisible" }, { "command": "notebook.command.addtext", "when": "notebookEditorVisible" }, { "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.installPackages", "when": "false" } ], "objectExplorer/item/context": [ { "command": "notebook.command.new", "when": "connectionProvider == MSSQL && nodeType == Server", "group": "1root@1" }, { "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.installPackages", "when": "providerId == jupyter" } ] }, "keybindings": [ { "command": "notebook.command.new", "key": "Ctrl+Shift+N" }, { "command": "notebook.command.runactivecell", "key": "F5", "when": "notebookEditorVisible" }, { "command": "notebook.command.addcode", "key": "Ctrl+Shift+C", "when": "notebookEditorVisible" }, { "command": "notebook.command.addtext", "key": "Ctrl+Shift+T", "when": "notebookEditorVisible" } ], "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": [] } ] } }, "dependencies": { "@jupyterlab/services": "^3.2.1", "decompress": "^4.2.0", "error-ex": "^1.3.1", "figures": "^2.0.0", "fs-extra": "^5.0.0", "node-fetch": "^2.3.0", "process-nextick-args": "^2.0.0", "request": "^2.88.0", "temp-write": "^3.4.0", "vscode-languageclient": "^5.3.0-next.1", "vscode-nls": "^4.0.0" }, "devDependencies": { "@types/mocha": "^5.2.5", "@types/node": "^11.9.3", "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 }