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

前端 未结 8 1202
终归单人心
终归单人心 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:15

    I would also like to recommend vscode extension Peep, which allows you to toggle hide on the excluded files in your projects settings.json.

    Hit F1 for vscode command line (command palette), then

    ext install [enter] peep [enter]
    

    You can bind "extension.peepToggle" to a key like Ctrl+Shift+P (same as F1 by default) for easy toggling. Hit Ctrl+K Ctrl+S for key bindings, enter peep, select Peep Toggle and add your binding.

提交回复
热议问题