Top 5 New Features in Visual Studio 2013

Top 5 New Features in Visual Studio 2013

This Article will help you to understand new features in Visual studio 2013. Visual studio 2013 has come up with a lot of new features to improve productivity. I will explain some of the new features which we need most of the time.
 
 Peek Definition (ALT+F12)
 
Peek Definition (ALT+F12) gives you a chance to take a speedy look at a class or method definition without opening that file. In Previous versions of Visual studio you may be adapted to hitting F12 or Right click Then Go to Definition to go to a methods definition, however now if you hit Alt+F12 or Right click  then Peek Definition instead, you will have the capacity to take a look at the definition simply below its usage.
 
As demonstrated in  the below Figure, I had my cursor on "IsPostBack" when I hit Alt+F12, displaying the definition of the "IsPostBack" property below inside my code window.
 
 
 
 
 CodeMap – Visual Debugging
 
In Visual Studio 2013, when you are in a debugging session, you will find an option called Code Map in the debug toolbar. Clicking this "CodeMap" Menu will open a window which shows the visual representation of the execution flow as shown below. You can call this window as a Visual Call Stack, which demonstrates the sequence of methods need to be executed. It will help you imagine the code structure better and will accelerate your debugging pace.
 
 
 
 
CodeLens
 
CodeLens  feature helps developers understand how many times a method or a class has referenced. Before CodeLens, you had to dig through several different windows to retrieve information such as method references, tests associated with a method, the last time a line of code was changed or how many times the code has been changed. The first thing to be aware of is that CodeLens is turned on by default. You can, however, control what information is displayed in the code editor. To modify this information, go to Tools> Options >Text Editor> All Languages> Code Information Indicators.
 
 
 
JustMyCode
 
Just my code feature tells the debugger to only step through the code you’ve been writing yourself and ignore frameworks and other code. The system is doing this by looking at open projects, .pbd files and program optimizations. For .Net Framework, this came before VS 2013, but what’s new now is that it’s available for C++ and JavaScript as well.
Steps to enable or disable Just My Code,  open Debug -> Options and Settings -> General and change the value of Enable Just My Code. 
 
 
 
Auto Brace Complete
 
The Auto brace complete feature automatically adds closing parenthesis, quotes, braces and brackets for you as you type code in the Editor. This was one of the popular Productivity Power Tools Features that we decided to include in the Visual Studio 2013.
 
 
 Summary
There are lot of features added in Visual studio 2013. These are the features which I like most in Visual studio 2013. Please share your valuable feedback on this.
 
Reference
 
 
comments powered by Disqus

Related Articles