VS Code 中Python 开发环境配置(Settings.json、launch.json、Tasks.json)

Configuring Visual Studio Code for Python Development

配置Tasks.json

mac快捷键:cmd+shift+b
官方指导文档

我的 tasks.json python配置

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "taskName": "Python",
            "type": "shell",
            "command": "${workspaceRoot}/env/bin/python3.5",
            "args": [
                "${file}"
            ],
            "presentation": {
                "reveal": "always",
                "panel": "shared"
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}

Python 自动提示

自动提示实在是太慢了,我使用了dash,安装了插件,方便了太多了

你可能感兴趣的:(python,VSCode,Python)