如何创建和初始化“.vscode"在 VSCode 中? [英] How to create and init ".vscode" in VSCode?

查看:32
本文介绍了如何创建和初始化“.vscode"在 VSCode 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在vscode中创建一个项目,但是我不知道如何初始化项目中的.vscode"文件夹,由HM创建它并且ware不会初始化其中的任何文件.

I want to create a project in vscode, but I don't know how to initialize the ".vscode" folder in the project, creating it by HM and the ware won't initialize any file in it.

我该怎么做?

推荐答案

通常不需要初始化任何东西,VSCode 自己处理这个文件夹.一旦你做了一些需要进入这个文件夹的事情,例如使用首选项->工作区设置"或使用调试器预设之一,它就会被文件填充.

Normally there should be no need to initialize anything, VSCode handles this folder by itself. As soon you do something that needs to go into this folder, for example using "Preferences->Workspace Settings" or by using one of the debugger presets, it gets populated with the files.

如果您真的想通过自己创建文件而不使用 GUI 或调色板命令来添加任何内容,您只需创建文件夹和您需要的任何文件.没有涉及额外的魔法",只是一个带有名称的文件夹.

And if you really want to add anything by creating the files by yourself and without using the GUI or the command the palette, you just create the folder and whatever file you need. There is no additional "magic" involved, just a folder with a name.

这篇关于如何创建和初始化“.vscode"在 VSCode 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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