在 VS Code 中创建全局任务 [英] Making Global Tasks in VS Code

查看:44
本文介绍了在 VS Code 中创建全局任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法制作全局"任务,或者我是否总是需要将相同的 tasks.json 复制到每个项目目录中.VSCode 似乎要求任务位于当前项目文件夹中的 .vscode 目录中.

Is there a way to make "global" tasks, or do I always need to copy the same tasks.json into every project directory. VSCode seems to require that the task be in a .vscode directory within the current project folder.

推荐答案

我在 VSCode 团队.从 VSCode 1.8 开始,不支持全局配置,但我们关注该功能:https://github.com/Microsoft/vscode/issues/1435

I'm on the VSCode team. As of VSCode 1.8, global configuration is not supported, but the feature is on our radar: https://github.com/Microsoft/vscode/issues/1435

如果您对此行为有任何建议,请在 GitHub 上告诉我们.

Please let us know on GitHub if you have any suggestions on how this should behave.

这篇关于在 VS Code 中创建全局任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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