Almost every developer uses the Visual Studio code for developing modern web and cloud applications. However, many developers may not be fully aware of some of its hidden capabilities.
Most of the users are unaware of some hidden features in the development environment or they didn’t spare a bit of time to explore these things.
Opening the standalone terminals for multiple files within the same window is one of the features you can’t ignore when working with multiple files simultaneously and running commands separately.
Steps To Open Integrated Terminals on Visual Code Editor:
- In your Visual Code editor, go to the Explorer pane on the left.
- Select and right-click on the file you want to open a standalone terminal for.
- Now, select the Open in Integrated Terminal option from the menu.
This way you can open standalone terminals for multiple files on the same window and further run commands accordingly.
Example: Suppose you are working on a web application where you need to run both the frontend development environment and a backend server. Instead of opening a different Visual Code window for both environments and then bearing the irritation of switching between tabs, you can utilize the integrated terminal feature on the same window.
Just open the integrated terminal for both the files frontend and backend on the same window and then execute commands on both files simultaneously on the integrated terminals