From the course: Visual Studio Code for Web Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Side by side editing - Visual Studio Tutorial
From the course: Visual Studio Code for Web Developers
Side by side editing
- [Narrator] A common scenario when editing source code is that you often want to edit one part of a file while keeping another part of the file in view or you want to view two different files at the same time so you can refer to one while editing the other. VS Code makes this easy by allowing you to open editors side by side for either the same file or multiple different files. There are a couple of ways to do this. So let's open index.html. To work on the same file in side by side mode, you can just type command backslash or control backslash. You can also click on the split editor icon up here in the tabs strip or right click on the file name in the explorer list and choose open to the side. You can then scroll to different parts of the file and work on each one. To do this with different files, you can simply right click on the other file and choose open to the side. When you do this, the open editor section of the explorer shows subfolders for left and for right. The default…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.