代码拉取完成,页面将自动刷新
{
"name": "vscode-python-envs",
"displayName": "Python Environments",
"description": "Provides a unified python environment experience",
"version": "0.1.0-dev",
"publisher": "ms-python",
"preview": true,
"engines": {
"vscode": "^1.96.0-insider"
},
"categories": [
"Other"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "This extension doesn't support untrusted workspaces."
},
"virtualWorkspaces": {
"supported": false,
"description": "This extension doesn't support virtual workspaces."
}
},
"activationEvents": [
"onLanguage:python"
],
"homepage": "https://github.com/microsoft/vscode-python-environments",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-python-environments.git"
},
"bugs": {
"url": "https://github.com/microsoft/vscode-python-environments/issues"
},
"main": "./dist/extension.js",
"icon": "icon.png",
"contributes": {
"configuration": {
"properties": {
"python-envs.defaultEnvManager": {
"type": "string",
"description": "%python-envs.defaultEnvManager.description%",
"default": "ms-python.python:venv",
"scope": "window"
},
"python-envs.defaultPackageManager": {
"type": "string",
"description": "%python-envs.defaultPackageManager.description%",
"default": "ms-python.python:pip",
"scope": "window"
},
"python-envs.pythonProjects": {
"type": "array",
"default": [],
"description": "%python-envs.pythonProjects.description%",
"scope": "window",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "%python-envs.pythonProjects.path.description%"
},
"envManager": {
"type": "string",
"description": "%python-envs.pythonProjects.envManager.description%",
"default": "ms-python.python:venv"
},
"packageManager": {
"type": "string",
"description": "%python-envs.pythonProjects.packageManager.description%",
"default": "ms-python.python:pip"
}
}
}
},
"python-envs.terminal.showActivateButton": {
"type": "boolean",
"description": "%python-envs.terminal.showActivateButton.description%",
"default": false,
"scope": "machine",
"tags": [
"onExP",
"preview"
]
}
}
},
"commands": [
{
"command": "python-envs.setEnvManager",
"title": "%python-envs.setEnvManager.title%",
"category": "Python",
"icon": "$(gear)"
},
{
"command": "python-envs.setPkgManager",
"title": "%python-envs.setPkgManager.title%",
"category": "Python",
"icon": "$(package)"
},
{
"command": "python-envs.addPythonProject",
"title": "%python-envs.addPythonProject.title%",
"category": "Python",
"icon": "$(new-folder)"
},
{
"command": "python-envs.removePythonProject",
"title": "%python-envs.removePythonProject.title%",
"category": "Python",
"icon": "$(remove)"
},
{
"command": "python-envs.create",
"title": "%python-envs.create.title%",
"category": "Python",
"icon": "$(add)"
},
{
"command": "python-envs.createAny",
"title": "%python-envs.createAny.title%",
"category": "Python",
"icon": "$(add)"
},
{
"command": "python-envs.set",
"title": "%python-envs.set.title%",
"category": "Python",
"icon": "$(check)"
},
{
"command": "python-envs.setEnv",
"title": "%python-envs.setEnv.title%",
"category": "Python",
"icon": "$(check)"
},
{
"command": "python-envs.reset",
"title": "%python-envs.reset.title%",
"shortTitle": "Reset Environment",
"category": "Python",
"icon": "$(sync)"
},
{
"command": "python-envs.remove",
"title": "%python-envs.remove.title%",
"category": "Python",
"icon": "$(remove)"
},
{
"command": "python-envs.refreshAllManagers",
"title": "%python-envs.refreshAllManagers.title%",
"shortTitle": "Refresh All",
"category": "Python",
"icon": "$(refresh)"
},
{
"command": "python-envs.refreshManager",
"title": "%python-envs.refreshManager.title%",
"category": "Python",
"icon": "$(refresh)"
},
{
"command": "python-envs.refreshPackages",
"title": "%python-envs.refreshPackages.title%",
"category": "Python",
"icon": "$(refresh)"
},
{
"command": "python-envs.packages",
"title": "%python-envs.packages.title%",
"shortTitle": "Modify Packages",
"category": "Python",
"icon": "$(package)"
},
{
"command": "python-envs.clearCache",
"title": "%python-envs.clearCache.title%",
"category": "Python",
"icon": "$(trash)"
},
{
"command": "python-envs.runInTerminal",
"title": "%python-envs.runInTerminal.title%",
"category": "Python Envs",
"icon": "$(play)"
},
{
"command": "python-envs.createTerminal",
"title": "%python-envs.createTerminal.title%",
"category": "Python Envs",
"icon": "$(terminal)"
},
{
"command": "python-envs.runAsTask",
"title": "%python-envs.runAsTask.title%",
"category": "Python Envs",
"icon": "$(play)"
},
{
"command": "python-envs.terminal.activate",
"title": "%python-envs.terminal.activate.title%",
"category": "Python Envs",
"icon": "$(python)"
},
{
"command": "python-envs.terminal.deactivate",
"title": "%python-envs.terminal.deactivate.title%",
"category": "Python Envs",
"icon": "$(circle-slash)"
}
],
"menus": {
"commandPalette": [
{
"command": "python-envs.packages",
"when": "false"
},
{
"command": "python-envs.refreshAllManagers",
"when": "false"
},
{
"command": "python-envs.refreshManager",
"when": "false"
},
{
"command": "python-envs.refreshPackages",
"when": "false"
},
{
"command": "python-envs.create",
"when": "false"
},
{
"command": "python-envs.setEnv",
"when": "false"
},
{
"command": "python-envs.reset",
"when": "false"
},
{
"command": "python-envs.remove",
"when": "false"
},
{
"command": "python-envs.addPythonProject",
"when": "false"
},
{
"command": "python-envs.removePythonProject",
"when": "false"
},
{
"command": "python-envs.createTerminal",
"when": "false"
},
{
"command": "python-envs.runInTerminal",
"when": "false"
},
{
"command": "python-envs.runAsTask",
"when": "true"
},
{
"command": "python-envs.terminal.activate",
"when": "pythonTerminalActivation"
},
{
"command": "python-envs.terminal.deactivate",
"when": "pythonTerminalActivation"
}
],
"view/item/context": [
{
"command": "python-envs.create",
"group": "inline",
"when": "view == env-managers && viewItem =~ /.*pythonEnvManager.*;create;.*/"
},
{
"command": "python-envs.remove",
"when": "view == env-managers && viewItem =~ /.*pythonEnvironment.*;remove;.*/"
},
{
"command": "python-envs.setEnv",
"group": "inline",
"when": "view == env-managers && viewItem =~ /.*pythonEnvironment.*/"
},
{
"command": "python-envs.refreshManager",
"group": "inline",
"when": "view == env-managers && viewItem =~ /.*pythonEnvManager.*/"
},
{
"command": "python-envs.createTerminal",
"group": "inline",
"when": "view == env-managers && viewItem =~ /.*pythonEnvironment.*;activatable;.*/"
},
{
"command": "python-envs.refreshPackages",
"group": "inline",
"when": "view == env-managers && viewItem == python-package-root"
},
{
"command": "python-envs.packages",
"group": "inline",
"when": "view == env-managers && viewItem =~ /.*pythonEnvironment.*/"
},
{
"command": "python-envs.packages",
"group": "inline",
"when": "view == python-projects && viewItem == python-env"
},
{
"command": "python-envs.refreshPackages",
"group": "inline",
"when": "view == python-projects && viewItem == python-package-root"
},
{
"command": "python-envs.removePythonProject",
"when": "view == python-projects && viewItem == python-workspace-removable"
},
{
"command": "python-envs.set",
"group": "inline",
"when": "view == python-projects && viewItem =~ /.*python-workspace.*/"
},
{
"command": "python-envs.reset",
"when": "view == python-projects && viewItem =~ /.*python-workspace.*/"
},
{
"command": "python-envs.createTerminal",
"group": "inline",
"when": "view == python-projects && viewItem =~ /.*python-workspace.*/"
}
],
"view/title": [
{
"command": "python-envs.addPythonProject",
"group": "navigation",
"when": "view == python-projects"
},
{
"command": "python-envs.createAny",
"group": "navigation",
"when": "view == env-managers"
},
{
"command": "python-envs.refreshAllManagers",
"group": "navigation",
"when": "view == env-managers"
},
{
"command": "python-envs.terminal.activate",
"group": "navigation",
"when": "view == terminal && config.python-envs.terminal.showActivateButton && pythonTerminalActivation && !pythonTerminalActivated"
},
{
"command": "python-envs.terminal.deactivate",
"group": "navigation",
"when": "view == terminal && config.python-envs.terminal.showActivateButton && pythonTerminalActivation && pythonTerminalActivated"
}
],
"explorer/context": [
{
"command": "python-envs.addPythonProject",
"group": "inline",
"when": "explorerViewletVisible && explorerResourceIsFolder"
},
{
"command": "python-envs.addPythonProject",
"group": "inline",
"when": "explorerViewletVisible && resourceExtname == .py"
}
],
"editor/title/run": [
{
"command": "python-envs.runAsTask",
"group": "Python",
"when": "editorLangId == python"
}
],
"terminal/title/context": [
{
"command": "python-envs.terminal.activate",
"when": "pythonTerminalActivation && !pythonTerminalActivated"
},
{
"command": "python-envs.terminal.deactivate",
"when": "pythonTerminalActivation && pythonTerminalActivated"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "python",
"title": "Python",
"icon": "files/logo.svg"
}
]
},
"views": {
"python": [
{
"id": "python-projects",
"name": "Python Projects",
"icon": "files/logo.svg",
"contextualTitle": "Python Projects"
},
{
"id": "env-managers",
"name": "Environment Managers",
"icon": "files/logo.svg",
"contextualTitle": "Environment Managers"
}
]
},
"taskDefinitions": [
{
"type": "python"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool source-map --config ./webpack.config.js",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile",
"lint": "eslint --config=eslint.config.mjs src",
"unittest": "mocha --config=./build/.mocha.unittests.json",
"vsce-package": "vsce package -o ms-python-envs-insiders.vsix"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/sinon": "^17.0.3",
"@types/stack-trace": "0.0.29",
"@types/vscode": "^1.93.0",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@vscode/test-electron": "^2.3.2",
"@vscode/vsce": "^2.24.0",
"eslint": "^9.15.0",
"glob": "^8.1.0",
"mocha": "^10.8.2",
"sinon": "^19.0.2",
"ts-loader": "^9.4.3",
"ts-mockito": "^2.6.1",
"typemoq": "^2.1.0",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"@vscode/extension-telemetry": "^0.9.7",
"@vscode/test-cli": "^0.0.10",
"dotenv": "^16.4.5",
"fs-extra": "^11.2.0",
"stack-trace": "0.0.10",
"vscode-jsonrpc": "^9.0.0-next.5",
"which": "^4.0.0"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。