{
"name": "python",
"displayName": "Python",
"description": "Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, snippets, and more.",
"version": "2020.3.0-dev",
"languageServerVersion": "0.5.30",
"publisher": "ms-python",
"author": {
"name": "Microsoft Corporation"
},
"license": "MIT",
"homepage": "https://github.com/Microsoft/vscode-python",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-python"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-python/issues"
},
"qna": "https://stackoverflow.com/questions/tagged/visual-studio-code+python",
"icon": "icon.png",
"galleryBanner": {
"color": "#1e415e",
"theme": "dark"
},
"engines": {
"vscode": "^1.42.0"
},
"keywords": [
"python",
"django",
"unittest",
"multi-root ready"
],
"categories": [
"Programming Languages",
"Debuggers",
"Linters",
"Snippets",
"Formatters",
"Other"
],
"activationEvents": [
"onLanguage:python",
"onLanguage:jupyter",
"onDebugResolve:python",
"onCommand:python.execInTerminal",
"onCommand:python.sortImports",
"onCommand:python.runtests",
"onCommand:python.debugtests",
"onCommand:python.setInterpreter",
"onCommand:python.setShebangInterpreter",
"onCommand:python.viewTestUI",
"onCommand:python.viewLanguageServerOutput",
"onCommand:python.viewTestOutput",
"onCommand:python.viewOutput",
"onCommand:python.datascience.viewJupyterOutput",
"onCommand:python.selectAndRunTestMethod",
"onCommand:python.selectAndDebugTestMethod",
"onCommand:python.selectAndRunTestFile",
"onCommand:python.runCurrentTestFile",
"onCommand:python.runFailedTests",
"onCommand:python.execSelectionInTerminal",
"onCommand:python.execSelectionInDjangoShell",
"onCommand:python.buildWorkspaceSymbols",
"onCommand:python.startREPL",
"onCommand:python.goToPythonObject",
"onCommand:python.setLinter",
"onCommand:python.enableLinting",
"onCommand:python.createTerminal",
"onCommand:python.discoverTests",
"onCommand:python.configureTests",
"onCommand:python.switchOffInsidersChannel",
"onCommand:python.switchToDailyChannel",
"onCommand:python.switchToWeeklyChannel",
"onCommand:python.resetPythonInterpreter",
"onCommand:python.datascience.createnewnotebook",
"onCommand:python.datascience.showhistorypane",
"onCommand:python.datascience.importnotebook",
"onCommand:python.datascience.importnotebookfile",
"onCommand:python.datascience.opennotebook",
"onCommand:python.datascience.selectjupyteruri",
"onCommand:python.datascience.exportfileasnotebook",
"onCommand:python.datascience.exportfileandoutputasnotebook",
"onCommand:python.datascience.selectJupyterInterpreter",
"onCommand:python.datascience.selectjupytercommandline",
"onCommand:python.enableSourceMapSupport"
],
"main": "./out/client/extension",
"contributes": {
"snippets": [
{
"language": "python",
"path": "./snippets/python.json"
}
],
"keybindings": [
{
"command": "python.execSelectionInTerminal",
"key": "shift+enter",
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && !python.datascience.ownsSelection"
},
{
"command": "python.datascience.execSelectionInteractive",
"key": "shift+enter",
"when": "editorTextFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && python.datascience.ownsSelection && python.datascience.featureenabled"
},
{
"command": "python.datascience.runcurrentcelladvance",
"key": "shift+enter",
"when": "editorTextFocus && !editorHasSelection && python.datascience.hascodecells && python.datascience.featureenabled"
},
{
"command": "python.datascience.runcurrentcell",
"key": "ctrl+enter",
"when": "editorTextFocus && !editorHasSelection && python.datascience.hascodecells && python.datascience.featureenabled"
},
{
"command": "python.datascience.runcurrentcellandaddbelow",
"key": "alt+enter",
"when": "editorTextFocus && !editorHasSelection && python.datascience.hascodecells && python.datascience.featureenabled"
}
],
"commands": [
{
"command": "python.enableSourceMapSupport",
"title": "%python.command.python.enableSourceMapSupport.title%",
"category": "Python"
},
{
"command": "python.sortImports",
"title": "%python.command.python.sortImports.title%",
"category": "Python Refactor"
},
{
"command": "python.startREPL",
"title": "%python.command.python.startREPL.title%",
"category": "Python"
},
{
"command": "python.createTerminal",
"title": "%python.command.python.createTerminal.title%",
"category": "Python"
},
{
"command": "python.buildWorkspaceSymbols",
"title": "%python.command.python.buildWorkspaceSymbols.title%",
"category": "Python"
},
{
"command": "python.openTestNodeInEditor",
"title": "Open",
"icon": {
"light": "resources/light/open-file.svg",
"dark": "resources/dark/open-file.svg"
}
},
{
"command": "python.runTestNode",
"title": "Run",
"icon": {
"light": "resources/light/start.svg",
"dark": "resources/dark/start.svg"
}
},
{
"command": "python.debugTestNode",
"title": "Debug",
"icon": {
"light": "resources/light/debug.svg",
"dark": "resources/dark/debug.svg"
}
},
{
"command": "python.runtests",
"title": "%python.command.python.runtests.title%",
"category": "Python",
"icon": {
"light": "resources/light/run-tests.svg",
"dark": "resources/dark/run-tests.svg"
}
},
{
"command": "python.debugtests",
"title": "%python.command.python.debugtests.title%",
"category": "Python",
"icon": {
"light": "resources/light/debug.svg",
"dark": "resources/dark/debug.svg"
}
},
{
"command": "python.execInTerminal",
"title": "%python.command.python.execInTerminal.title%",
"category": "Python"
},
{
"command": "python.execInTerminal-icon",
"title": "%python.command.python.execInTerminal.title%",
"category": "Python",
"icon": {
"light": "resources/light/run-file.svg",
"dark": "resources/dark/run-file.svg"
}
},
{
"command": "python.setInterpreter",
"title": "%python.command.python.setInterpreter.title%",
"category": "Python"
},
{
"command": "python.switchOffInsidersChannel",
"title": "%python.command.python.switchOffInsidersChannel.title%",
"category": "Python"
},
{
"command": "python.switchToDailyChannel",
"title": "%python.command.python.switchToDailyChannel.title%",
"category": "Python"
},
{
"command": "python.switchToWeeklyChannel",
"title": "%python.command.python.switchToWeeklyChannel.title%",
"category": "Python"
},
{
"command": "python.resetPythonInterpreter",
"title": "%python.command.python.resetPythonInterpreter.title%",
"category": "Python"
},
{
"command": "python.refactorExtractVariable",
"title": "%python.command.python.refactorExtractVariable.title%",
"category": "Python Refactor"
},
{
"command": "python.refactorExtractMethod",
"title": "%python.command.python.refactorExtractMethod.title%",
"category": "Python Refactor"
},
{
"command": "python.viewTestOutput",
"title": "%python.command.python.viewTestOutput.title%",
"category": "Python",
"icon": {
"light": "resources/light/repl.svg",
"dark": "resources/dark/repl.svg"
}
},
{
"command": "python.datascience.viewJupyterOutput",
"title": "%python.command.python.datascience.viewJupyterOutput.title%",
"category": "Python"
},
{
"command": "python.datascience.selectJupyterInterpreter",
"title": "%python.command.python.datascience.selectJupyterInterpreter.title%",
"category": "Python"
},
{
"command": "python.viewLanguageServerOutput",
"title": "%python.command.python.viewLanguageServerOutput.title%",
"category": "Python",
"enablement": "python.hasLanguageServerOutputChannel"
},
{
"command": "python.viewOutput",
"title": "%python.command.python.viewOutput.title%",
"category": "Python",
"icon": {
"light": "resources/light/repl.svg",
"dark": "resources/dark/repl.svg"
}
},
{
"command": "python.selectAndRunTestMethod",
"title": "%python.command.python.selectAndRunTestMethod.title%",
"category": "Python"
},
{
"command": "python.selectAndDebugTestMethod",
"title": "%python.command.python.selectAndDebugTestMethod.title%",
"category": "Python"
},
{
"command": "python.selectAndRunTestFile",
"title": "%python.command.python.selectAndRunTestFile.title%",
"category": "Python"
},
{
"command": "python.runCurrentTestFile",
"title": "%python.command.python.runCurrentTestFile.title%",
"category": "Python"
},
{
"command": "python.runFailedTests",
"title": "%python.command.python.runFailedTests.title%",
"category": "Python",
"icon": {
"light": "resources/light/run-failed-tests.svg",
"dark": "resources/dark/run-failed-tests.svg"
}
},
{
"command": "python.discoverTests",
"title": "%python.command.python.discoverTests.title%",
"category": "Python",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "python.discoveringTests",
"title": "%python.command.python.discoveringTests.title%",
"category": "Python",
"icon": {
"light": "resources/light/discovering-tests.svg",
"dark": "resources/dark/discovering-tests.svg"
}
},
{
"command": "python.stopTests",
"title": "%python.command.python.stopTests.title%",
"category": "Python",
"icon": {
"light": "resources/light/stop.svg",
"dark": "resources/dark/stop.svg"
}
},
{
"command": "python.configureTests",
"title": "%python.command.python.configureTests.title%",
"category": "Python"
},
{
"command": "python.execSelectionInTerminal",
"title": "%python.command.python.execSelectionInTerminal.title%",
"category": "Python"
},
{
"command": "python.execSelectionInDjangoShell",
"title": "%python.command.python.execSelectionInDjangoShell.title%",
"category": "Python"
},
{
"command": "python.goToPythonObject",
"title": "%python.command.python.goToPythonObject.title%",
"category": "Python"
},
{
"command": "python.setLinter",
"title": "%python.command.python.setLinter.title%",
"category": "Python"
},
{
"command": "python.enableLinting",
"title": "%python.command.python.enableLinting.title%",
"category": "Python"
},
{
"command": "python.runLinting",
"title": "%python.command.python.runLinting.title%",
"category": "Python"
},
{
"command": "python.datascience.runcurrentcell",
"title": "%python.command.python.datascience.runcurrentcell.title%",
"category": "Python"
},
{
"command": "python.datascience.debugcell",
"title": "%python.command.python.datascience.debugcell.title%",
"category": "Python"
},
{
"command": "python.datascience.debugstepover",
"title": "%python.command.python.datascience.debugstepover.title%",
"category": "Python"
},
{
"command": "python.datascience.debugstop",
"title": "%python.command.python.datascience.debugstop.title%",
"category": "Python"
},
{
"command": "python.datascience.debugcontinue",
"title": "%python.command.python.datascience.debugcontinue.title%",
"category": "Python"
},
{
"command": "python.datascience.runcurrentcelladvance",
"title": "%python.command.python.datascience.runcurrentcelladvance.title%",
"category": "Python"
},
{
"command": "python.datascience.runcurrentcellandallbelow.palette",
"title": "%python.command.python.datascience.runcurrentcellandallbelow.palette.title%",
"category": "Python"
},
{
"command": "python.datascience.runallcellsabove.palette",
"title": "%python.command.python.datascience.runallcellsabove.palette.title%",
"category": "Python"
},
{
"command": "python.datascience.debugcurrentcell.palette",
"title": "%python.command.python.datascience.debugcurrentcell.palette.title%",
"category": "Python"
},
{
"command": "python.datascience.execSelectionInteractive",
"title": "%python.command.python.datascience.execSelectionInteractive.title%",
"category": "Python"
},
{
"command": "python.datascience.showhistorypane",
"title": "%python.command.python.datascience.showhistorypane.title%",
"category": "Python"
},
{
"command": "python.datascience.runFileInteractive",
"title": "%python.command.python.datascience.runFileInteractive.title%",
"category": "Python"
},
{
"command": "python.datascience.debugFileInteractive",
"title": "%python.command.python.datascience.debugFileInteractive.title%",
"category": "Python"
},
{
"command": "python.datascience.runallcells",
"title": "%python.command.python.datascience.runallcells.title%",
"category": "Python"
},
{
"command": "python.datascience.runallcellsabove",
"title": "%python.command.python.datascience.runallcellsabove.title%",
"category": "Python"
},
{
"command": "python.datascience.runcellandallbelow",
"title": "%python.command.python.datascience.runcellandallbelow.title%",
"category": "Python"
},
{
"command": "python.datascience.runcell",
"title": "%python.command.python.datascience.runcell.title%",
"category": "Python"
},
{
"command": "python.datascience.runtoline",
"title": "%python.command.python.datascience.runtoline.title%",
"category": "Python"
},
{
"command": "python.datascience.runfromline",
"title": "%python.command.python.datascience.runfromline.title%",
"category": "Python"
},
{
"command": "python.datascience.selectjupyteruri",
"title": "%python.command.python.datascience.selectjupyteruri.title%",
"category": "Python",
"when": "python.datascience.featureenabled"
},
{
"command": "python.datascience.selectjupytercommandline",
"title": "%python.command.python.datascience.selectjupytercommandline.title%",
"category": "Python",
"when": "python.datascience.featureenabled"
},
{
"command": "python.datascience.importnotebook",
"title": "%python.command.python.datascience.importnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.importnotebookfile",
"title": "%python.command.python.datascience.importnotebookfile.title%",
"category": "Python"
},
{
"command": "python.datascience.opennotebook",
"title": "%python.command.python.datascience.opennotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.exportoutputasnotebook",
"title": "%python.command.python.datascience.exportoutputasnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.exportfileasnotebook",
"title": "%python.command.python.datascience.exportfileasnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.exportfileandoutputasnotebook",
"title": "%python.command.python.datascience.exportfileandoutputasnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.undocells",
"title": "%python.command.python.datascience.undocells.title%",
"category": "Python"
},
{
"command": "python.datascience.redocells",
"title": "%python.command.python.datascience.redocells.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.undocells",
"title": "%python.command.python.datascience.undocells.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.redocells",
"title": "%python.command.python.datascience.redocells.title%",
"category": "Python"
},
{
"command": "python.datascience.removeallcells",
"title": "%python.command.python.datascience.removeallcells.title%",
"category": "Python"
},
{
"command": "python.datascience.interruptkernel",
"title": "%python.command.python.datascience.interruptkernel.title%",
"category": "Python"
},
{
"command": "python.datascience.restartkernel",
"title": "%python.command.python.datascience.restartkernel.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.removeallcells",
"title": "%python.command.python.datascience.notebookeditor.removeallcells.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.interruptkernel",
"title": "%python.command.python.datascience.interruptkernel.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.restartkernel",
"title": "%python.command.python.datascience.restartkernel.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.runallcells",
"title": "%python.command.python.datascience.notebookeditor.runallcells.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.runselectedcell",
"title": "%python.command.python.datascience.notebookeditor.runselectedcell.title%",
"category": "Python"
},
{
"command": "python.datascience.notebookeditor.addcellbelow",
"title": "%python.command.python.datascience.notebookeditor.addcellbelow.title%",
"category": "Python"
},
{
"command": "python.datascience.expandallcells",
"title": "%python.command.python.datascience.expandallcells.title%",
"category": "Python"
},
{
"command": "python.datascience.collapseallcells",
"title": "%python.command.python.datascience.collapseallcells.title%",
"category": "Python"
},
{
"command": "python.datascience.addcellbelow",
"title": "%python.command.python.datascience.addcellbelow.title%",
"category": "Python"
},
{
"command": "python.datascience.createnewnotebook",
"title": "%python.command.python.datascience.createnewnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.scrolltocell",
"title": "%python.command.python.datascience.scrolltocell.title%",
"category": "Python"
},
{
"command": "python.analysis.clearCache",
"title": "%python.command.python.analysis.clearCache.title%",
"category": "Python"
},
{
"command": "python.datascience.switchKernel",
"title": "%DataScience.selectKernel%",
"category": "Python",
"enablement": "python.datascience.isnativeactive"
}
],
"menus": {
"editor/context": [
{
"command": "python.refactorExtractVariable",
"title": "Refactor: Extract Variable",
"group": "Refactor",
"when": "editorHasSelection && editorLangId == python"
},
{
"command": "python.refactorExtractMethod",
"title": "Refactor: Extract Method",
"group": "Refactor",
"when": "editorHasSelection && editorLangId == python"
},
{
"command": "python.sortImports",
"title": "Refactor: Sort Imports",
"group": "Refactor",
"when": "editorLangId == python"
},
{
"command": "python.execSelectionInTerminal",
"group": "Python",
"when": "editorFocus && editorLangId == python"
},
{
"command": "python.execSelectionInDjangoShell",
"group": "Python",
"when": "editorHasSelection && editorLangId == python && python.isDjangoProject"
},
{
"when": "resourceLangId == python",
"command": "python.execInTerminal",
"group": "Python"
},
{
"when": "resourceLangId == python",
"command": "python.runCurrentTestFile",
"group": "Python"
},
{
"when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled",
"command": "python.datascience.runallcells",
"group": "Python2"
},
{
"when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled",
"command": "python.datascience.runcurrentcell",
"group": "Python2"
},
{
"when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled",
"command": "python.datascience.runcurrentcelladvance",
"group": "Python2"
},
{
"command": "python.datascience.runFileInteractive",
"group": "Python2",
"when": "editorFocus && editorLangId == python && python.datascience.featureenabled"
},
{
"command": "python.datascience.runfromline",
"group": "Python2",
"when": "editorFocus && editorLangId == python && python.datascience.ownsSelection && python.datascience.featureenabled"
},
{
"command": "python.datascience.runtoline",
"group": "Python2",
"when": "editorFocus && editorLangId == python && python.datascience.ownsSelection && python.datascience.featureenabled"
},
{
"command": "python.datascience.execSelectionInteractive",
"group": "Python2",
"when": "editorFocus && editorLangId == python && python.datascience.featureenabled && python.datascience.ownsSelection"
},
{
"when": "editorFocus && editorLangId == python && resourceLangId == jupyter && python.datascience.featureenabled",
"command": "python.datascience.importnotebook",
"group": "Python3@1"
},
{
"when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled",
"command": "python.datascience.exportfileasnotebook",
"group": "Python3@2"
},
{
"when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled",
"command": "python.datascience.exportfileandoutputasnotebook",
"group": "Python3@3"
}
],
"editor/title": [
{
"command": "python.execInTerminal-icon",
"title": "%python.command.python.execInTerminal.title%",
"group": "navigation",
"when": "resourceLangId == python && python.showPlayIcon"
}
],
"explorer/context": [
{
"when": "resourceLangId == python && !busyTests",
"command": "python.runtests",
"group": "Python"
},
{
"when": "resourceLangId == python && !busyTests",
"command": "python.debugtests",
"group": "Python"
},
{
"when": "resourceLangId == python",
"command": "python.execInTerminal",
"group": "Python"
},
{
"when": "resourceLangId == python && python.datascience.featureenabled",
"command": "python.datascience.runFileInteractive",
"group": "Python2"
},
{
"when": "resourceLangId == jupyter",
"command": "python.datascience.opennotebook",
"group": "Python"
},
{
"when": "resourceLangId == jupyter",
"command": "python.datascience.importnotebookfile",
"group": "Python"
}
],
"commandPalette": [
{
"command": "python.switchOffInsidersChannel",
"title": "%python.command.python.switchOffInsidersChannel.title%",
"category": "Python",
"when": "config.python.insidersChannel != 'default'"
},
{
"command": "python.switchToDailyChannel",
"title": "%python.command.python.switchToDailyChannel.title%",
"category": "Python",
"when": "config.python.insidersChannel != 'daily'"
},
{
"command": "python.switchToWeeklyChannel",
"title": "%python.command.python.switchToWeeklyChannel.title%",
"category": "Python",
"when": "config.python.insidersChannel != 'weekly'"
},
{
"command": "python.resetPythonInterpreter",
"title": "%python.command.python.resetPythonInterpreter.title%",
"category": "Python"
},
{
"command": "python.viewOutput",
"title": "%python.command.python.viewOutput.title%",
"category": "Python"
},
{
"command": "python.runTestNode",
"title": "Run",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.discoveringTests",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.stopTests",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.debugTestNode",
"title": "Debug",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.openTestNodeInEditor",
"title": "Open",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.runcurrentcell",
"title": "%python.command.python.datascience.runcurrentcell.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonornativeactive"
},
{
"command": "python.datascience.runcurrentcelladvance",
"title": "%python.command.python.datascience.runcurrentcelladvance.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonornativeactive"
},
{
"command": "python.datascience.runcurrentcellandallbelow.palette",
"title": "%python.command.python.datascience.runcurrentcellandallbelow.palette.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonornativeactive"
},
{
"command": "python.datascience.runallcellsabove.palette",
"title": "%python.command.python.datascience.runallcellsabove.palette.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonornativeactive"
},
{
"command": "python.datascience.debugcurrentcell.palette",
"title": "%python.command.python.datascience.debugcurrentcell.palette.title%",
"category": "Python",
"when": "editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled"
},
{
"command": "python.datascience.showhistorypane",
"title": "%python.command.python.datascience.showhistorypane.title%",
"category": "Python",
"when": "python.datascience.featureenabled && !python.datascience.isinteractiveactive"
},
{
"command": "python.datascience.runallcells",
"title": "%python.command.python.datascience.runallcells.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonornativeactive"
},
{
"command": "python.datascience.scrolltocell",
"title": "%python.command.python.datascience.scrolltocell.title%",
"category": "Python",
"when": "false"
},
{
"command": "python.datascience.debugcell",
"title": "%python.command.python.datascience.debugcell.title%",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.runcell",
"title": "%python.command.python.datascience.runcell.title%",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.runFileInteractive",
"title": "%python.command.python.datascience.runFileInteractive.title%",
"category": "Python",
"when": "editorLangId == python && python.datascience.featureenabled"
},
{
"command": "python.datascience.debugFileInteractive",
"title": "%python.command.python.datascience.debugFileInteractive.title%",
"category": "Python",
"when": "editorLangId == python && python.datascience.featureenabled"
},
{
"command": "python.datascience.importnotebook",
"title": "%python.command.python.datascience.importnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.opennotebook",
"title": "%python.command.python.datascience.opennotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.exportfileasnotebook",
"title": "%python.command.python.datascience.exportfileasnotebook.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonorinteractiveeactive"
},
{
"command": "python.datascience.exportfileandoutputasnotebook",
"title": "%python.command.python.datascience.exportfileandoutputasnotebook.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonorinteractiveeactive"
},
{
"command": "python.datascience.undocells",
"title": "%python.command.python.datascience.undocells.title%",
"category": "Python",
"when": "python.datascience.haveinteractivecells && python.datascience.featureenabled && python.datascience.ispythonorinteractiveeactive"
},
{
"command": "python.datascience.redocells",
"title": "%python.command.python.datascience.redocells.title%",
"category": "Python",
"when": "python.datascience.haveredoablecells && python.datascience.featureenabled && python.datascience.ispythonorinteractiveornativeeactive"
},
{
"command": "python.datascience.removeallcells",
"title": "%python.command.python.datascience.removeallcells.title%",
"category": "Python",
"when": "python.datascience.haveinteractivecells && python.datascience.featureenabled && python.datascience.ispythonorinteractiveeactive"
},
{
"command": "python.datascience.interruptkernel",
"title": "%python.command.python.datascience.interruptkernel.title%",
"category": "Python",
"when": "python.datascience.haveinteractive && python.datascience.featureenabled && python.datascience.ispythonorinteractiveeactive"
},
{
"command": "python.datascience.restartkernel",
"title": "%python.command.python.datascience.restartkernel.title%",
"category": "Python",
"when": "python.datascience.haveinteractive && python.datascience.featureenabled && python.datascience.ispythonorinteractiveeactive"
},
{
"command": "python.datascience.notebookeditor.undocells",
"title": "%python.command.python.datascience.undocells.title%",
"category": "Python",
"when": "python.datascience.haveinteractivecells && python.datascience.featureenabled && python.datascience.isnativeactive"
},
{
"command": "python.datascience.notebookeditor.redocells",
"title": "%python.command.python.datascience.redocells.title%",
"category": "Python",
"when": "python.datascience.havenativeredoablecells && python.datascience.featureenabled && python.datascience.isnativeactive"
},
{
"command": "python.datascience.notebookeditor.removeallcells",
"title": "%python.command.python.datascience.notebookeditor.removeallcells.title%",
"category": "Python",
"when": "python.datascience.havenativecells && python.datascience.featureenabled && python.datascience.isnativeactive"
},
{
"command": "python.datascience.notebookeditor.interruptkernel",
"title": "%python.command.python.datascience.interruptkernel.title%",
"category": "Python",
"when": "python.datascience.isnativeactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.notebookeditor.restartkernel",
"title": "%python.command.python.datascience.restartkernel.title%",
"category": "Python",
"when": "python.datascience.isnativeactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.notebookeditor.runallcells",
"title": "%python.command.python.datascience.notebookeditor.runallcells.title%",
"category": "Python",
"when": "python.datascience.isnativeactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.notebookeditor.runselectedcell",
"title": "%python.command.python.datascience.notebookeditor.runselectedcell.title%",
"category": "Python",
"when": "python.datascience.isnativeactive && python.datascience.featureenabled && python.datascience.havecellselected"
},
{
"command": "python.datascience.notebookeditor.addcellbelow",
"title": "%python.command.python.datascience.notebookeditor.addcellbelow.title%",
"category": "Python",
"when": "python.datascience.isnativeactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.expandallcells",
"title": "%python.command.python.datascience.expandallcells.title%",
"category": "Python",
"when": "python.datascience.isinteractiveactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.collapseallcells",
"title": "%python.command.python.datascience.collapseallcells.title%",
"category": "Python",
"when": "python.datascience.isinteractiveactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.exportoutputasnotebook",
"title": "%python.command.python.datascience.exportoutputasnotebook.title%",
"category": "Python",
"when": "python.datascience.isinteractiveactive && python.datascience.featureenabled"
},
{
"command": "python.datascience.runcellandallbelow",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.runallcellsabove",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.debugcontinue",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.debugstop",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.debugstepover",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.debugcell",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.addcellbelow",
"title": "%python.command.python.datascience.addcellbelow.title%",
"category": "Python",
"when": "python.datascience.hascodecells && python.datascience.featureenabled && python.datascience.ispythonornativeactive"
},
{
"command": "python.datascience.createnewnotebook",
"title": "%python.command.python.datascience.createnewnotebook.title%",
"category": "Python"
},
{
"command": "python.datascience.runtoline",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.runfromline",
"category": "Python",
"when": "config.noExists"
},
{
"command": "python.datascience.execSelectionInteractive",
"category": "Python",
"when": "editorLangId == python && python.datascience.featureenabled"
},
{
"command": "python.datascience.switchKernel",
"title": "%DataScience.selectKernel%",
"category": "Python",
"when": "python.datascience.isnativeactive"
}
],
"view/title": [
{
"command": "python.debugtests",
"when": "view == python_tests && !busyTests",
"group": "navigation@3"
},
{
"command": "python.runtests",
"when": "view == python_tests && !busyTests",
"group": "navigation@1"
},
{
"command": "python.stopTests",
"when": "view == python_tests && busyTests",
"group": "navigation@1"
},
{
"command": "python.discoverTests",
"when": "view == python_tests && !busyTests",
"group": "navigation@4"
},
{
"command": "python.discoveringTests",
"when": "view == python_tests && discoveringTests",
"group": "navigation@4"
},
{
"command": "python.runFailedTests",
"when": "view == python_tests && hasFailedTests && !busyTests",
"group": "navigation@2"
},
{
"command": "python.viewTestOutput",
"when": "view == python_tests",
"group": "navigation@5"
}
],
"view/item/context": [
{
"command": "python.runtests",
"when": "view == python_tests && viewItem == testWorkspaceFolder && !busyTests",
"group": "inline@0"
},
{
"command": "python.debugtests",
"when": "view == python_tests && viewItem == testWorkspaceFolder && !busyTests",
"group": "inline@1"
},
{
"command": "python.discoverTests",
"when": "view == python_tests && viewItem == testWorkspaceFolder && !busyTests",
"group": "inline@2"
},
{
"command": "python.openTestNodeInEditor",
"when": "view == python_tests && viewItem == function",
"group": "inline@2"
},
{
"command": "python.debugTestNode",
"when": "view == python_tests && viewItem == function && !busyTests",
"group": "inline@1"
},
{
"command": "python.runTestNode",
"when": "view == python_tests && viewItem == function && !busyTests",
"group": "inline@0"
},
{
"command": "python.openTestNodeInEditor",
"when": "view == python_tests && viewItem == file",
"group": "inline@2"
},
{
"command": "python.debugTestNode",
"when": "view == python_tests && viewItem == file && !busyTests",
"group": "inline@1"
},
{
"command": "python.runTestNode",
"when": "view == python_tests && viewItem == file && !busyTests",
"group": "inline@0"
},
{
"command": "python.openTestNodeInEditor",
"when": "view == python_tests && viewItem == suite",
"group": "inline@2"
},
{
"command": "python.debugTestNode",
"when": "view == python_tests && viewItem == suite && !busyTests",
"group": "inline@1"
},
{
"command": "python.runTestNode",
"when": "view == python_tests && viewItem == suite && !busyTests",
"group": "inline@0"
}
]
},
"breakpoints": [
{
"language": "python"
},
{
"language": "html"
},
{
"language": "jinja"
}
],
"debuggers": [
{
"type": "python",
"label": "Python",
"languages": [
"python"
],
"program": "./out/client/debugger/debugAdapter/main.js",
"runtime": "node",
"variables": {
"pickProcess": "python.pickLocalProcess"
},
"configurationSnippets": [],
"configurationAttributes": {
"launch": {
"properties": {
"module": {
"type": "string",
"description": "Name of the module to be debugged.",
"default": ""
},
"program": {
"type": "string",
"description": "Absolute path to the program.",
"default": "${file}"
},
"pythonPath": {
"type": "string",
"description": "Path (fully qualified) to python executable. Defaults to the value in settings.json",
"default": "${config:python.pythonPath}"
},
"args": {
"type": "array",
"description": "Command line arguments passed to the program",
"default": [],
"items": {
"type": "string"
}
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": false
},
"showReturnValue": {
"type": "boolean",
"description": "Show return value of functions when stepping.",
"default": true
},
"console": {
"enum": [
"internalConsole",
"integratedTerminal",
"externalTerminal"
],
"description": "Where to launch the debug target: internal console, integrated terminal, or external terminal.",
"default": "integratedTerminal"
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory of the program being debugged. Default is the root directory of the file (leave empty).",
"default": "${workspaceFolder}"
},
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": {},
"additionalProperties": {
"type": "string"
}
},
"envFile": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"default": "${workspaceFolder}/.env"
},
"port": {
"type": "number",
"description": "Debug port (default is 0, resulting in the use of a dynamic port).",
"default": 0
},
"host": {
"type": "string",
"description": "IP address of the of the local debug server (default is localhost).",
"default": "localhost"
},
"pathMappings": {
"type": "array",
"label": "Path mappings.",
"items": {
"type": "object",
"label": "Path mapping",
"required": [
"localRoot",
"remoteRoot"
],
"properties": {
"localRoot": {
"type": "string",
"label": "Local source root.",
"default": "${workspaceFolder}"
},
"remoteRoot": {
"type": "string",
"label": "Remote source root.",
"default": ""
}
}
},
"default": []
},
"logToFile": {
"type": "boolean",
"description": "Enable logging of debugger events to a log file.",
"default": false
},
"redirectOutput": {
"type": "boolean",
"description": "Redirect output.",
"default": true
},
"justMyCode": {
"type": "boolean",
"description": "Debug only user-written code.",
"default": true
},
"gevent": {
"type": "boolean",
"description": "Enable debugging of gevent monkey-patched code.",
"default": false
},
"django": {
"type": "boolean",
"description": "Django debugging.",
"default": false
},
"jinja": {
"enum": [
true,
false,
null
],
"description": "Jinja template debugging (e.g. Flask).",
"default": null
},
"sudo": {
"type": "boolean",
"description": "Running debug program under elevated permissions (on Unix).",
"default": false
},
"pyramid": {
"type": "boolean",
"description": "Whether debugging Pyramid applications",
"default": false
},
"subProcess": {
"type": "boolean",
"description": "Whether to enable Sub Process debugging",
"default": false
}
}
},
"test": {
"properties": {
"pythonPath": {
"type": "string",
"description": "Path (fully qualified) to python executable. Defaults to the value in settings.json",
"default": "${config:python.pythonPath}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": false
},
"showReturnValue": {
"type": "boolean",
"description": "Show return value of functions when stepping.",
"default": true
},
"console": {
"enum": [
"internalConsole",
"integratedTerminal",
"externalTerminal"
],
"description": "Where to launch the debug target: internal console, integrated terminal, or external terminal.",
"default": "internalConsole"
},
"cwd": {
"type": "string",
"description": "Absolute path to the working directory of the program being debugged. Default is the root directory of the file (leave empty).",
"default": "${workspaceFolder}"
},
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": {},
"additionalProperties": {
"type": "string"
}
},
"envFile": {
"type": "string",
"description": "Absolute path to a file containing environment variable definitions.",
"default": "${workspaceFolder}/.env"
},
"redirectOutput": {
"type": "boolean",
"description": "Redirect output.",
"default": true
},
"justMyCode": {
"type": "boolean",
"description": "Debug only user-written code.",
"default": true
}
}
},
"attach": {
"properties": {
"port": {
"type": "number",
"description": "Debug port to attach",
"default": 0
},
"host": {
"type": "string",
"description": "IP Address of the of remote server (default is localhost or use 127.0.0.1).",
"default": "localhost"
},
"pathMappings": {
"type": "array",
"label": "Path mappings.",
"items": {
"type": "object",
"label": "Path mapping",
"required": [
"localRoot",
"remoteRoot"
],
"properties": {
"localRoot": {
"type": "string",
"label": "Local source root.",
"default": "${workspaceFolder}"
},
"remoteRoot": {
"type": "string",
"label": "Remote source root.",
"default": ""
}
}
},
"default": []
},
"logToFile": {
"type": "boolean",
"description": "Enable logging of debugger events to a log file.",
"default": false
},
"redirectOutput": {
"type": "boolean",
"description": "Redirect output.",
"default": true
},
"justMyCode": {
"type": "boolean",
"description": "Debug only user-written code.",
"default": true
},
"django": {
"type": "boolean",
"description": "Django debugging.",
"default": false
},
"jinja": {
"enum": [
true,
false,
null
],
"description": "Jinja template debugging (e.g. Flask).",
"default": null
},
"subProcess": {
"type": "boolean",
"description": "Whether to enable Sub Process debugging",
"default": false
},
"showReturnValue": {
"type": "boolean",
"description": "Show return value of functions when stepping.",
"default": true
},
"processId": {
"anyOf": [
{
"enum": [
"${command:pickProcess}"
],
"description": "Use process picker to select a process to attach, or Process ID as integer.",
"default": "${command:pickProcess}"
},
{
"type": "integer",
"description": "ID of the local process to attach to."
}
]
}
}
}
}
}
],
"configuration": {
"type": "object",
"title": "Python",
"properties": {
"python.diagnostics.sourceMapsEnabled": {
"type": "boolean",
"default": false,
"description": "Enable source map support for meaningful stack traces in error logs.",
"scope": "application"
},
"python.autoComplete.addBrackets": {
"type": "boolean",
"default": false,
"description": "Automatically add brackets for functions.",
"scope": "resource"
},
"python.autoComplete.extraPaths": {
"type": "array",
"default": [],
"description": "List of paths to libraries and the like that need to be imported by auto complete engine. E.g. when using Google App SDK, the paths are not in system path, hence need to be added into this list.",
"scope": "resource"
},
"python.autoComplete.showAdvancedMembers": {
"type": "boolean",
"default": true,
"description": "Controls appearance of methods with double underscores in the completion list.",
"scope": "resource"
},
"python.autoComplete.typeshedPaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Specifies paths to local typeshed repository clone(s) for the Python language server.",
"scope": "resource"
},
"python.autoUpdateLanguageServer": {
"type": "boolean",
"default": true,
"description": "Automatically update the language server.",
"scope": "application"
},
"python.experiments.enabled": {
"type": "boolean",
"default": true,
"description": "Enables/disables A/B tests.",
"scope": "machine"
},
"python.experiments.optInto": {
"type": "array",
"default": [],
"items": {
"enum": [
"LS - enabled",
"AlwaysDisplayTestExplorer - experiment",
"ShowExtensionSurveyPrompt - enabled",
"DebugAdapterFactory - experiment",
"PtvsdWheels37 - experiment",
"Reload - experiment",
"AA_testing - experiment",
"WebHostNotebook - experiment",
"UseTerminalToGetActivatedEnvVars - experiment",
"All"
]
},
"description": "List of experiment to opt into. If empty, user is assigned the default experiment groups. See https://github.com/microsoft/vscode-python/wiki/Experiments for more details.",
"scope": "machine"
},
"python.experiments.optOutFrom": {
"type": "array",
"default": [],
"items": {
"enum": [
"LS - enabled",
"AlwaysDisplayTestExplorer - experiment",
"ShowExtensionSurveyPrompt - enabled",
"DebugAdapterFactory - experiment",
"PtvsdWheels37 - experiment",
"Reload - experiment",
"AA_testing - experiment",
"WebHostNotebook - experiment",
"UseTerminalToGetActivatedEnvVars - experiment",
"All"
]
},
"description": "List of experiment to opt out of. If empty, user is assigned the default experiment groups. See https://github.com/microsoft/vscode-python/wiki/Experiments for more details.",
"scope": "machine"
},
"python.dataScience.allowImportFromNotebook": {
"type": "boolean",
"default": true,
"description": "Allows a user to import a jupyter notebook into a python file anytime one is opened.",
"scope": "resource"
},
"python.dataScience.gatherRules": {
"type": "array",
"default": [
{
"objectName": "df",
"functionName": "head",
"doesNotModify": [
"OBJECT"
]
},
{
"objectName": "df",
"functionName": "describe",
"doesNotModify": [
"OBJECT"
]
},
{
"objectName": "df",
"functionName": "tail",
"doesNotModify": [
"OBJECT"
]
},
{
"functionName": "print",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "KMeans",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "scatter",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "fit",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "sum",
"doesNotModify": [
"ARGUMENTS"
]
},
{
"functionName": "len",
"doesNotModify": [
"ARGUMENTS"
]
}
]
},
"python.dataScience.askForLargeDataFrames": {
"type": "boolean",
"default": true,
"description": "Warn the user before trying to open really large data frames.",
"scope": "application"
},
"python.dataScience.askForKernelRestart": {
"type": "boolean",
"default": true,
"description": "Warn the user before restarting a kernel.",
"scope": "application"
},
"python.dataScience.enabled": {
"type": "boolean",
"default": true,
"description": "Enable the experimental data science features in the python extension.",
"scope": "resource"
},
"python.dataScience.exportWithOutputEnabled": {
"type": "boolean",
"default": false,
"description": "Enable exporting a python file into a jupyter notebook and run all cells when doing so.",
"scope": "resource"
},
"python.dataScience.jupyterLaunchTimeout": {
"type": "number",
"default": 60000,
"description": "Amount of time (in ms) to wait for the Jupyter Notebook server to start.",
"scope": "resource"
},
"python.dataScience.jupyterLaunchRetries": {
"type": "number",
"default": 3,
"description": "Number of times to attempt to connect to the Jupyter Notebook",
"scope": "resource"
},
"python.dataScience.jupyterServerURI": {
"type": "string",
"default": "local",
"description": "When a Notebook Editor or Interactive Window session is started, create the kernel on the specified Jupyter server. Select 'local' to create a new Jupyter server on this local machine.",
"scope": "resource"
},
"python.dataScience.jupyterCommandLineArguments": {
"type": "array",
"default": [],
"description": "When a Notebook Editor or Interactive Window Jupyter server is started, these arguments will be passed to it. By default this list is generated by the Python Extension.",
"scope": "resource"
},
"python.dataScience.notebookFileRoot": {
"type": "string",
"default": "${fileDirname}",
"description": "Set the root directory for loading files for the Python Interactive window.",
"scope": "resource"
},
"python.dataScience.searchForJupyter": {
"type": "boolean",
"default": true,
"description": "Search all installed Python interpreters for a Jupyter installation when starting the Python Interactive window",
"scope": "resource"
},
"python.dataScience.changeDirOnImportExport": {
"type": "boolean",
"default": false,
"description": "When importing or exporting a Jupyter Notebook add a directory change command to allow relative path loading to work.",
"scope": "resource"
},
"python.dataScience.useDefaultConfigForJupyter": {
"type": "boolean",
"default": true,
"description": "When running Jupyter locally, create a default empty Jupyter config for the Python Interactive window",
"scope": "resource"
},
"python.dataScience.jupyterInterruptTimeout": {
"type": "number",
"default": 10000,
"description": "Amount of time (in ms) to wait for an interrupt before asking to restart the Jupyter kernel.",
"scope": "resource"
},
"python.dataScience.allowInput": {
"type": "boolean",
"default": true,
"description": "Allow the inputting of python code directly into the Python Interactive window"
},
"python.dataScience.showCellInputCode": {
"type": "boolean",
"default": true,
"description": "Show cell input code.",
"scope": "resource"
},
"python.dataScience.collapseCellInputCodeByDefault": {
"type": "boolean",
"default": true,
"description": "Collapse cell input code by default.",
"scope": "resource"
},
"python.dataScience.maxOutputSize": {
"type": "number",
"default": 400,
"description": "Maximum size (in pixels) of text output in the Python Interactive window before a scrollbar appears. Set to -1 for infinity.",
"scope": "resource"
},
"python.dataScience.errorBackgroundColor": {
"type": "string",
"default": "#FFFFFF",
"description": "Background color (in hex) for exception messages in the Python Interactive window.",
"scope": "resource",
"deprecationMessage": "No longer necessary as the theme colors are used for error messages"
},
"python.dataScience.sendSelectionToInteractiveWindow": {
"type": "boolean",
"default": false,
"description": "Determines if selected code in a python file will go to the terminal or the Python Interactive window when hitting shift+enter",
"scope": "resource"
},
"python.dataScience.showJupyterVariableExplorer": {
"type": "boolean",
"default": true,
"description": "Show the variable explorer in the Python Interactive window.",
"deprecationMessage": "This setting no longer applies. It is ignored.",
"scope": "resource"
},
"python.dataScience.variableExplorerExclude": {
"type": "string",
"default": "module;function;builtin_function_or_method",
"description": "Types to exclude from showing in the Python Interactive variable explorer",
"scope": "resource"
},
"python.dataScience.codeRegularExpression": {
"type": "string",
"default": "^(#\\s*%%|#\\s*\\