我现在正在尝试Visual Studio Code.关于Visual Studio Code的所有内容对我来说都很酷,只有一件事: .git文件夹/文件被隐藏在Visual Studio Code中.
I am trying Visual Studio Code at this moment. Everything about Visual Studio Code look really cool to me except one thing: .git folder/file is hidden in Visual Studio Code.
我经常通过修改.git配置文件来更改Git设置.无法看到.git文件对我来说真的很烦.
I often change Git setting by modifying the .git configuration file. It is really annoying for me not able to see .git files.
有没有办法在Visual Studio Code中显示.git文件?
Is there a way to reveal .git files in Visual Studio Code?
推荐答案默认情况下,Visual Studio Code使用以下设置排除文件夹中的文件:
By default Visual Studio Code excludes files in a folder using the following settings:
"files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/.DS_Store": true }您可以通过添加以下行来更改用户设置或工作区设置以显示.git文件夹:
You can change your user settings or workspace settings to show the .git folder by adding these lines:
"files.exclude": { "**/.git": false }更多推荐
Visual Studio代码:隐藏的.git文件夹/文件
发布评论