Monday, January 20, 2020

Viewing Different Locations in the Same Visual Studio File

I frequently want to view two parts of a file at the same time.  Like if I am copying or moving code from one place to another in the same file.

I have found it handy to drag the split bar down to get two panes of the same file.


Sometimes I want to view more than two places in a file at once or the two blocks of code I am looking at are really long, so I would like to see them side by side.  For that, I select from the menu Window => New Window.