From the course: Visual Studio Developer Tips

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Multiple editor views of same file

Multiple editor views of same file - Visual Studio Tutorial

From the course: Visual Studio Developer Tips

Multiple editor views of same file

- [Instructor] In this tip I'll look at how to create multiple views of the same code document. For today's tip I'm using a C# file, but what I'll show you works for any of the editor windows. What I have here is a file that's too long to fit on the screen, so I'd like to be able to see the top part of the file and the bottom part of the file at the same time. There's a couple of ways we can do this. One is you can use this splitter here at the top of the scroll bar. Go up here, grab this with your mouse and drag down, and you can scroll the top independent from the bottom. To put this split bar away, you can drag it up to the top of the windows, or you can double click on it. If you'd rather use the menu approach for splitting the window, go to the window menu and choose split, and then to stop splitting the window go and choose remove split. This feature's been in Visual Studio for a long time, so has this other features, although this is a newer feature, the ability to have…

Contents