当前位置:   article > 正文

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

tasks.jason settings.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
            }
        }
    ]
}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23

Python 自动提示

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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/秋刀鱼在做梦/article/detail/770895
推荐阅读
相关标签
  

闽ICP备14008679号