Friday, March 14, 2014

Peek Definition

In Visual Studio 2013, right-clicking on a call to a method and selecting "Peek Definition" is similar to yet different from right-clicking on a call to a method and selecting "Go To Declaration" as the former will open a little window within the pane showing your code and display the method there. You may scroll within the window and close it when you are done with it. The effect happens if the method is in a different file but also if the method is in the same file. This is helpful in working inside a file with thousands of lines of code. You may see two pieces far apart side by side easily.

No comments:

Post a Comment