vscode中的tasks.json文件在哪里? [英] Where is the tasks.json file in vscode?

查看:135
本文介绍了vscode中的tasks.json文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始在 linux 中使用 vscode.我知道构建配置是在 tasks.json 中设置的.但是这个文件在哪里?

I just start to use vscode in linux. I know that the build configuration are set in tasks.json. But where does this file locate?

我尝试了 Ctrl-Shift-P 然后

tasks,没有匹配的命令.

build,没有匹配的命令.

我也尝试在~/.vscode文件夹中找到它,这里什么都没有!

I also tried to find it in ~/.vscode folder, nothing here!

有没有办法找到/打开这个文件?

Is there a way to find / open this file?

推荐答案

  1. 用 vscode 打开一个文件夹
  2. 按 F1
  3. 选择任务:配置任务"
  4. 按 Enter 键,vscode 将为您创建一个示例 task.json

这篇关于vscode中的tasks.json文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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