Visual Studio Split Windows.

11 05 2008

During maintenance or refactoring, usually you’ve to compare multiple code blocks of the same source file. So what we usually do? Put two bookmarks at both locations by using Ctrl+F2 and we will switch between the blocks by pressing F2 and compare it. While being in one block, the other block resides in our memory. 😉 Do you know that visual studio supports window splitters to make your life easier?

1) Take menu Window->Split
2) now the mouse changes to a 4 way splitter.
3) Just click on the desired dimensions to split the current window.
4) Finally it will look like as follows.

Pretty useful, but commonly ignored, huh? 😉

Targeted Audience – Beginners.