How to disable collapsing to one line for single folders in Visual Studio Code

If you have been using Visual Studio Code, you might have encountered that if you have a folder that only has a single folder inside, Visual Studio Code will automatically collapse both parent and child folders into a single line.

Actually, if you have a chain of subfolders that have only one folder inside, it will merge all folders into a single line, as you can see on the image below.

I used to solve this by adding a dummy file or folder just to have a better folder structure, but even that is annoying since there are extra files that you can see that you do not need.

To solve this collapsing of the folder structure to a single line for single parent/child folder, follow the steps below.

Continue reading How to disable collapsing to one line for single folders in Visual Studio Code

How to enable mouse scroll zoom in Visual Studio Code

By default, making your font bigger or smaller by using Ctrl + Mouse Wheel is not enabled in Visual Studio Code. But with a settings change, we can enable this.


Steps to enable Mouse Scroll Zoom in Visual Studio Code

In Visual Studio Code window, click on File >> Preferences >> Settings.

This will create a new tab called Settings.

Continue reading How to enable mouse scroll zoom in Visual Studio Code