Nanfeng

Notes on software development, code, and curious ideas

Hiding .meta Files in VS Code

When editing a Cocos Creator project in VS Code, you can hide .meta files from the Explorer without deleting or ignoring them.

Open Settings from the gear icon:

Opening VS Code settings

Find Files: Exclude and add **/*.meta:

Adding a VS Code file exclusion

The equivalent workspace configuration is:

1
2
3
4
5
{
"files.exclude": {
"**/*.meta": true
}
}

This is only a display filter. Cocos Creator still needs its .meta files, and they should generally remain under version control.

+