Monday, September 30, 2013

Visual Studio 2013 : Peek Definition a new feature

Peek Definition in Visual Studio 2013:

In the earlier version of Visual Studio, When we need to see the definition of method then we can to right click that method and then click on Go To Definition(F12) and then code will be navigate to that method.


GoToDefinitionVisualStudio2012

Once you click on Go To Definition It will navigate to that method.

MethodFromGotoDefinitionVisualStudiofeature

Now in Visual Studio you have one more feature called Peek Definition(Alt + F12).

PeekDefinitionVisualStudio2013

Once you click on peek definition, It will open a small window and show the definition and code for that method.

PeekDefinitionWindowVisualStudio2013

It’s a nice way to see the code of particular method without moving to another .cs file. Another benefit is that it is a recursive like Go To Definition you can navigate to deeper and deeper without moving to another file.

No comments:

Post a Comment

Thank you for visiting my blog

Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...