欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > > 文章正文

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

来源: javaer 分享于  点击 49563 次 点评:279

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,安装了插件,方便了太多了

相关文章

    暂无相关文章

用户点评