Visual Studio Code 如何设置运行Python代码

答案: http://stackoverflow.com/questions/29987840/how-to-execute-python-code-from-within-visual-studio-code

Visual Studio Code 现在用起来越来越好用了,如何让它像sublime text 一样 使用ctrl + b运行python代码呢?

Ctrl+Shift+P 调出命令面板,输入tasks 任务:配置任何运行程序,再点击other,会生成一个新文件task.json,编辑里面内容即可

使用 Ctrl+Shift+B 可以运行python程序了

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *


seven × 2 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">