如何在Visual Studio代码中隐藏侧栏中的某些文件?

本文翻译自:How do I hide certain files from the sidebar in Visual Studio Code?

Using Microsoft's Visual Studio Code, how do I hide certain files and file patterns from appearing in the sidebar? 使用Microsoft的Visual Studio代码,如何隐藏侧边栏中显示的某些文件和文件模式?

I want to hide .meta and .git style files 我想隐藏.meta.git样式文件


#1楼

参考:https://stackoom.com/question/22Soq/如何在Visual-Studio代码中隐藏侧栏中的某些文件


#2楼

You can configure patterns to hide files and folders from the explorer and searches. 您可以配置模式以从资源管理器和搜索中隐藏文件和文件夹。

  1. Open VS User Settings (Main menu: File > Preferences > Settings). 打开VS用户设置(主菜单:文件>首选项>设置)。 This will open the setting screen. 这将打开设置屏幕。
  2. Search for files:exclude in the search at the top. 搜索文件:在顶部的搜索中排除。
  3. Configure the User Setting with new glob patterns as n
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值