好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

编辑器vs怎么样

// for the documentation about the tasks.json format

"version": "0.1.0",

"command":"python",

//"command":"D:\\Python27\\python.exe",

"isShellCommand": true,

//"args": ["${file}"], //这种写法不能编译

"args": ["hello.py"],

"showOutput": "always"

}

运行方法如下:

查看-->命令面板(Ctrl+Shit+P),输入Tasks: Run Build Task(中文输入:任务,然后选择 任务:运行生成任务(Ctrl+Shit+B))

结果如下:

附:将语言更改为en-US

Ctrl+Shift+P,输入语言(Language),选择 配置语言(Configure Language),会自动出现location.json文件

添加"locale":"en-US",如下所示,保存

{

// 定义 VSCode 的显示语言。

// 请参阅 http://go.microsoft测试数据/fwlink/?LinkId=761051,了解支持的语言列表。

// 要更改值需要重启 VSCode。

"locale":"en-US"

}

重启VScode即可。

如果想改回中文,就改为"locale":"zh-CN"或者删掉这个location.json文件。

以上就是编辑器vs怎么样的详细内容,更多请关注Gxl网其它相关文章!

查看更多关于编辑器vs怎么样的详细内容...

  阅读:75次