Configuring Visual Studio Code for Python Development
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
}
}
]
}
自动提示实在是太慢了,我使用了dash,安装了插件,方便了太多了