How to hide .meta and .cs.meta files in Visual Studio Code on Windows

I using Visual Studio Code to write code for Unity and I want to hide files .meta and .cs.meta. How does it work?

Open your user settings under File/Preferences/Settings or you can use the shortcut “CTRL + Comma” then add a file exclude for .meta files like this:

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


There is a very small button / icon that reads “Show/Hide all files” on hover.
Toggling it off will hide .meta files from your Solution explorer.

Your Solution explorer would supposedly display meta files like this:


When toggled off, meta files are hidden like below: