Skip to content

Instantly share code, notes, and snippets.

@jasursadikov
Last active October 17, 2023 10:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasursadikov/df5d4eafc7ef245d8e5759676ba5ae82 to your computer and use it in GitHub Desktop.
Save jasursadikov/df5d4eafc7ef245d8e5759676ba5ae82 to your computer and use it in GitHub Desktop.
VSCode files exclusion mask for Unity project
// This file should be placed in the root direcotry inside your Unity project directory like following /.vscode/settings.json
{
"files.exclude": {
// Root directory
"[Bb]uild/": true,
"[Bb]uilds/": true,
"[L]ibrary/": true,
"[Ll]ogs/": true,
"[Oo]bj/": true,
"[Tt]emp/": true,
"[Pp]roject[Ss]ettings/": true,
"[Mm]emoryCaptures/": true,
"[Uu]ser[Ss]ettings/": true,
// Unity generated .csproj and .sln files in root directory
"*.csproj": true,
"*.sln": true,
"**/.DS_Store": true,
"**/.git": true,
"**/.gitignore": true,
"**/.gitmodules": true,
// File exensions
"**/*.booproj": true,
"**/*.pidb": true,
"**/*.suo": true,
"**/*.user": true,
"**/*.userprefs": true,
"**/*.unityproj": true,
// Unity formats
"**/*.mat": true,
"**/*.meta": true,
"**/*.prefab": true,
"**/*.unity": true,
"**/*.unityasset": true,
"**/*.asset": true,
"**/*.cubemap": true,
"**/*.flare": true,
// Binaries
"**/*.dll": true,
"**/*.exe": true,
"**/*.bin": true,
// Documents
"**/*.pdf": true,
"**/*.doc": true,
"**/*.docx": true,
// Images
"**/*.gif": true,
"**/*.ico": true,
"**/*.jpg": true,
"**/*.jpeg": true,
"**/*.png": true,
"**/*.psd": true,
"**/*.tga": true,
"**/*.tif": true,
"**/*.tiff": true,
// Audio
"**/*.mid": true,
"**/*.midi": true,
"**/*.wav": true,
"**/*.mp3": true,
// Media
"**/*.mp4": true,
"**/*.avi": true,
"**/*.mov": true,
// 3D models
"**/*.obj": true,
"**/*.OBJ": true,
"**/*.fbx": true,
"**/*.FBX": true,
"**/*.ma": true,
"**/*.MA": true,
"**/*.lxo": true,
"**/*.LXO": true,
"**/*.3ds": true,
"**/*.3DS": true,
"**/*.MAX": true,
"**/*.max": true,
}
}
@diliupg
Copy link

diliupg commented Nov 27, 2021

Thanks for this thoughtful addendum to the VS code Json file which makes more sense for Unity.

@jasursadikov
Copy link
Author

@diliupg you're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment