VS code is the visual code editor developed by the Microsoft for its clients. This tool is widely used by the developers to edit the codes of different programs related to their field. Visual Studio Code includes the Embedded GIT Control, Debugging and much useful stuff for the clients. Surely it is that kind of code editor which you can rely on.
Sometimes you need to run more than one file at a time on VS Code. Many users don’t know how to do this. Because if we intend to open the second file in VS code editor it replaces the first time. Well, it doesn’t mean that you can’t open 2 files on VS code at a time. You just need to follow the basic technique to do this.
How to Open Multiple files on VS Code?
There are 2 main methods to accomplish this task. The first method is a little bit technical and the second one is tricky but easy. In today’s article, we will guide you on how to open multiple files in the VS Code.
First Method – VS Code Settings Modification:
No doubt this method is technical a bit but still easy through these steps. You have to explore some settings and then you will be able to open more than one file on VS Code.
- Launch VS Code software on your Windows Laptop or Desktop.
- On the upper menu click on the File option.
- From the appeared list choose the Preferences option.
- You will get a list of various options here, click on the Settings.
- Now VS code will prompt a list of User and Workspace Settings.
- Choose the Workspace Settings.
- Search for workbench.editor.showTabs
- Change the value to True.
After such settings customization, you will be able to open 2 or more files in VS code at a time. Remember if you kept the value to False then only one file can be run at a time in VS Code. If you intend to open the second file with the same value its will replace the first one.
Second Method – Mouse shortcut:
May you have noticed that on the Taskbar in Windows, you need to click once to open any file. While in the folders or desktop screen, you need to click twice to open the file. You can apply this trick on the VS Code. First, drag the Visual Studio Code at the Taskbar. Now click twice on the Visual Studio code on TaskBar.
This action will open the tabs of the VS Code at a time. Now you can open the second file on second tab by using the file option. If you want to open more than 2 files, left-click on VS Code as many times as the number of tabs you want to open. This trick is the most common trick on computer 2 open multiple files of the same genre.
Ok! viewers that were all from us. If you want any kind of assistance, inform us through the comment box below. Our tech experts will try to fix your problems as soon as possible. Thanks for visiting Windowsboy.com.