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?
80705-1.png

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
      }

109135-vscodeexclude.png

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:

200674-20221012-10-34-35-ui-lab-microsoft-visual-studio.png

When toggled off, meta files are hidden like below:

200673-20221012-10-34-55-ui-lab-microsoft-visual-studio.png