https://www.cnblogs.com/ezhar/p/12996465.html
1.在VS Code中点击快捷键Ctrl/Command+Shift+P,输入setting,会出现很多选项,选择User Settings那一项; 2.放入如下配置:
"files.exclude": { "*.metadata": true, "*.settings": true, "**/*.pyc": true, //隐藏所有pyc文件 "**/*.meta": true, //隐藏所有meta文件 "**/*.prefab": true, //隐藏所有prefab文件 "**/*.d.ts": true, //隐藏所有d.ts文件 "**/*.fnt": true, "**/*.sln": true, "**/*.csproj": true, "**/.vscode": true, "**/*.anim": true, "**/*.controller": true, "**/Logs": true, "**/[Pp]lugins": true, //使用中括号时表示不区分大小写 "**/[Mm]aterials": true, "**/[Aa]nimation": true, "**/[Pp]ackages": true, "**/[Tt]extures": true, "**/[Ss]cenes": true, "**/temp": true, //隐藏temp文件夹 "**/library": true, //隐藏library文件夹 "**/audio": true, //隐藏audio文件夹 "**/video": true, //隐藏video文件夹 }