I have what appears to be a weird problem. In some project folders when I open them in VS Code I don't see the entire directory tree in the file explorer, some folders and files are missing, and if I open some folders, content is empty, quite annoying. I have looked at Files: Excluded in the Settings and everything is default. If I open the folder through the File menu option I see the entire content of the directory alright. I am on win10 and the project is C#. Any ideas what might be wrong? Edit: Should mention I am using git. I have these extensions inststalled: .NET Core Test Explorer, C#, C# extensions, Debugger for Unity, Dotnet core commands, Dotnet Core Essentials, Git History, GitLens, Jira and Bitbucket, Prettier, Unity Code Snippets, Unity Snippets, YAML
VS Code file explorer won't show certain files or directories in some projects
1.5k Views Asked by aggaton At
2
In case somebody else runs into the same issue. Turns out not all excluded files show up in the Settings. The file under .vscode called settings.json likely contains a lot longer list, in my case all the files types and folders I was missing in my view was on that hidden list.