从 VS Code 在终端中运行文件 [英] Run files in terminal from VS Code

查看:35
本文介绍了从 VS Code 在终端中运行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何 VS Code 快捷方式可以让您在 Windows 终端中运行文件,而无需将文件路径直接写入终端?

Is there any VS Code shorcut that lets you run a file in the Windows terminal without writing the path of the file directly into the terminal?

提前致谢.

推荐答案

如果我理解你的问题,我想你可以看看答案 此处此处.我想您必须相应地更改您的 task.json.

If I understand your question I think you can look into the answer here and here. I guess you have to change your task.json accordingly.

这篇关于从 VS Code 在终端中运行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆