Wednesday, July 17, 2013

Visual Studio 2013 : Peek Definition a new feature

In this blog post We are going to look into the a new Visual Studio 2013 feature called Peek Definition another way of Go to definition.

This post will be part of Visual Studio 2013 feature series

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.

That’s it. Hope you like it. Stay tuned for more..

Share:

2 comments:

Your feedback is very important to me. Please provide your feedback via putting comments.

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews