Visual Studio Code: Show hidden folders

Leo N
3 min readJul 4, 2020
https://code.visualstudio.com/docs/getstarted/userinterface

Overview

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity). Begin your journey with VS Code with these introductory videos. At its heart, Visual Studio Code is a code editor. Like many other code editors, VS Code adopts a common user interface and layout of an explorer on the left, showing all of the files and folders you have access to, and an editor on the right, showing the content of the files you have opened.

Scenario

I am trying Visual Studio Code at this moment. Everything about Visual Studio Code look really cool to me except one thing: .git folder/file is hidden in Visual Studio Code. I often change Git setting by modifying the .git configuration file. It is really annoying for me not able to see .git files. Is there a way to reveal .git files in Visual Studio Code?

Configs

By default Visual Studio Code excludes files in a folder using the following settings:

"files.exclude": {
"**/.git": true,
"**/.svn": true

--

--

Leo N
Leo N

Written by Leo N

🇻🇳 🇸🇬 🇲🇾 🇦🇺 🇹🇭 Engineer @ GXS Bank, Singapore | MSc 🎓 | Technical Writer . https://github.com/nphausg

Responses (1)