How do I hide certain files from the sidebar in Visual Studio Code?

前端 未结 8 1225
终归单人心
终归单人心 2020-11-27 08:56

Using Microsoft\'s Visual Studio Code, how do I hide certain files and file patterns from appearing in the sidebar?

I want to hide .meta and .git<

8条回答
  •  心在旅途
    2020-11-27 09:36

    For .meta files while using Unity3D, I found the best pattern for hiding is:

    "files.exclude": {
      "*/**/**.meta": true
    }
    

    This captures all folders and subfolders, and will pick up foo.cs.meta in addition to foo.meta

提交回复
热议问题