Visual Studio Code 1.0.1 for python

时间:2023-03-09 14:11:45
Visual Studio Code 1.0.1  for python

Visual Studio Code 1.0.1  for python

Visual Studio Code 1.0.1  for pythonVisual Studio Code 1.0.1  for python

1. 安 F1健

ext install python

E:\test\.vscode下的三个文件

2.launch.json

{

"version": "0.1.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"program": "${file}",
"pythonPath": "c:/python34/python.exe",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"]

}
]
}

3.tasks.json

{
// See http://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "c:\\python34\\python.exe",
"isShellCommand": true,
"args": ["${file}"],
"showOutput": "always"
}

4.settings.json

// 将设置放入此文件中以覆盖默认值和用户设置。
{
"python.pythonPath": "c:\\python34\\python.exe"
}