Click here to Skip to main content
15,881,641 members
Articles / .NET

Visual Studio 2013 New Features of the IDE

Rate me:
Please Sign up or sign in to vote.
4.60/5 (27 votes)
10 Dec 2013CC (ASA 3U)8 min read 97K   18   26
Visual Studio 2013 Preview has been launched recently. This post talks about the Visual Studio 2013’s IDE new features.

Introduction

Visual Studio 2013 Preview has been launched recently. This post talks about the Visual Studio 2013’s IDE new features. 

Update: I posted this article on Aug 10, 2013 on CodeProject and in my blog around the release of Visual Studio 2013 preview version(all the below mentioned features are still present in the final release). Even though I wrote this post for documenting and sharing the new features of visual studio 2013 that I identified when I started exploring Visual Studio 2013, I recently noted many people, even Microsoft folks have talked about the new features in various Microsoft sites, I recommend everyone to check them out too (posting all those links here will just make people lazy :-)). 

Background

Like I did with Visual Studio 2010 (my blog) and Visual Studio 2012 (on CodeProject), I am writing this with several purposes in mind; I thought of documenting these cool new features of Visual Studio 2013 that I found, so that it will serve as an index for me and I could easily refer to this in talks, or, when sharing these with friends.

(Note that one of the ultimate purposes of blogging/posting articles for me is that I can easily recall stuff when needed if I forget, that’s the reason even many guys who are greater than me blog :) it is kind of documenting your learning/taking notes, consolidating and keeping it in one page as a gist, and it may turn out to be useful to others. And, this will help people who are not privileged enough to install and checkout Visual Studio 2013 preview due to some reasons, like, if they don’t have a computer on their own or their organization doesn't allow installing any software on their office machines by themselves (this sadly happens in India, the system is not smart enough to allow safe software to be installed without going through cumbersome authorization processes, you can’t even play ASP.NET site’s tutorial videos in some places :)) 

Let me know if this was helpful for you, it will make me to post more such things here.

Note: This post talks about the Visual Studio 2013’s IDE new features. All non-IDE features, new language features, .NET Framework 4.5.1 features and specific code editor enhancements may be discussed in future articles.

Below are the list of Visual Studio 2013’s new features I found in the preview bits.

Roaming Settings

You will not miss noting this feature, because as soon as you launch Visual Studio 2013 for the first time, you will get the below dialog prompting you to sign-in.

Screen_155 Jul. 08 15.00.26

You can sign-in to Visual Studio 2013 using your Microsoft account (hotmail.com, live.com, etc.). After you sign-in to Visual Studio 2013, your settings are sync’d with your Microsoft account. Next time when you use Visual Studio 2013 on another computer, you can use the same Microsoft account to sign-in and find your settings applied to it. This is pretty awesome if you have a couple of computers, like, one at home and one in the office and if you use Visual Studio in it. I find this useful as I have faced problems in font and keyboard shortcuts settings that people (colleagues) have set differently. Now you don’t need to waste time to repeatedly configure these settings each time you use Visual Studio on a new machine (or in your colleague’s machine).

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.

CodeMap1

When you are in Debug mode, clicking this will open a window which shows the visual representation of the execution flow as shown below:

Visual Studio 2013 New Features - CodeMap2

You can call this window as a Visual Call Stack, which shows the sequence of methods that are invoked. People who have spent hours on debugging will realize the potential of this tool, it will help you visualize the code structure better and will speed up your debugging pace. This also helps newcomers to dev teams to grasp existing code easily if they execute and turn this thing on.

You can add comments as shown below:

Visual Studio 2013 New Features - CodeMap3

You can group items as shown below:

Visual Studio 2013 New Features - CodeMap4

There are a bunch of other things that you can do with the CodeMap window, like, highlight the references to a method box, change colors of the method boxes, change the layout from top-down to left to right, etc.

Peek Definition – Alt+F12

In Visual Studio 2013, you have something called Peek Definition above the Go To Definition command.

ScreenHunter_88 Jul. 20 17.13

Unlike the Go To Definition command, which shows the definition by opening the actual code file where the definition is present as a new tab (or in preview tab); the Peek Definition shows the definition by displaying an inline frame containing the section of the actual source code file containing the definition as shown below:

(click to enlarge image)

ScreenHunter_90 Jul. 20 18.45

This allows the user to get a quick glimpse of the definition without leaving the current code location.

You can also use Peek Definition command again inside the peek definition frame which opens the definition in the same frame but displays a dotted breadcrumb band at the top right of the peek frame as shown below. This frame allows you to navigate back and forth the open definitions (source files). You can use Ctrl+Alt+- and Ctrl+Alt+= to navigate back and forth respectively.

(click to enlarge image)

Visual Studio 2013 New Features-PeekDefinition0

Code Lens

You wont miss noting this feature when using Visual Studio 2013. There will be indicators sitting atop of every method in the code editor. Clicking them will show information about the code section as shown below:

Visual Studio 2013 New Features - CodeLens

Here, you can see that a method’s references are shown and seems this information indication doesn’t stop with just references, it has a bunch of things it could show. I found these capabilities of this feature by digging into Visual Studio Options. It looks like it will show Unit test related stuff, authors, changes made by them, etc. You can find the options at Text Editor>All Languages>Code Information Indicators. I haven’t tried to make it show all the information that it could show, in future I may post more about it.

Browser Link

In Visual Studio 2013, you will find an icon near the Start command as shown below:

ScreenHunter_260 Aug. 09 11.21

This icon is the door to the new feature in Visual Studio 2013 called Browser Link, this provides you a two way link between Visual Studio and your browsers. As a basic functionality, it allows you to refresh the browser window that runs your web application from within Visual Studio. As of now, Browser Link just refreshes the browser window and I couldn’t find any other use of it apart from this, but I hope more cool features will be added to it in the full release of Visual Studio 2013. To try this, just launch your web application and after it gets displayed in your browser, do some modifications to your web app in Visual Studio and click the above shown Browser Link icon, you will find your browser updated with the changes you made in Visual Studio, shortcut Ctrl+Alt+Enter.

You might remember that I wrote here about launching your ASP.NET web applications on multiple browsers at the same time from Visual Studio, now you can interact with all of them in Visual studio 2013 with this Browser Link feature. Browser Link is going to be a great feature and it could include a great bunch of options in it later.

New Blue Theme

Due to the popularity of white on black color schemes, in Visual Studio 2012 a dark theme was introduced. For those who preferred the classic black on white theme, a Light theme was also present. In Visual Studio 2013, a new IDE color theme named as Blue is introduced (this is also available with Visual Studio 2012 Update 2).

ScreenHunter_91 Jul. 21 15.34

Visual Studio 2013 Light Theme

Visual Studio 2013 Blue Theme

ScreenHunter_90 Jul. 21 15.27 ScreenHunter_91 Jul. 21 15.27

(click to enlarge image)

UI Icons

There have been some debates on the decision of making all the icons in Visual Studio 2012 single colored(Light theme - black on white OR Dark theme - white on black ) some liked the simplicity and some hated to lose the familiarity towards the icons they have been using for years in past versions of Visual Studio. You will immediately note that Visual Studio 2013 has become more colorful. Some of the single colored icons are replaced with colored icons as shown below, click to enlarge the below images.

Visual Studio 2012 - Dark Theme

Visual Studio 2013 – Dark Theme

Visual Studio 2012 - Dark Theme Icon Colors Visual Studio 2013 New Features - Dark Theme Icon Colors

(click to enlarge image)

Visual Studio 2012 – Light Theme

Visual Studio 2013 – Light Theme

Visual Studio 2012 - Light Theme Icon Colors Visual Studio 2013 New Features - Light Theme Icon Colors

(click to enlarge image)

I personally like this version of icons than Visual Studio 2012’s, but I too kind of miss the old icons which were there till Visual Studio 2010, mostly the Debugging section’s code stepping icons. When I first started using Visual Studio 2012, I felt I have to put at least some tiny effort to get used to these icons, but I am a shortcut guy so majorly these icon changes don’t affect me much :).

Feedback & Notifications

In Visual Studio 2013, you will be able to easily give feedback about the product to Microsoft using the icon shown below.

ScreenHunter_260 Aug. 09 23.401

Notifications about product updates, etc. are shown in the small area beside this feedback icon. Clicking this flag like icon will open the notifications in a separate pane showing you the list of notifications as shown below:

ScreenHunter_260 Aug. 10 00.21

Conclusion

I am sure I would have missed some of the new features of Visual Studio 2013. Let me know in the comments if so. I will include them (of course crediting you :)).

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-Share Alike 3.0 Unported License


Written By
Architect
India India
I am Ashoka (Ashoka.R.K.T.), I am a software professional who is passionate about designing and developing great applications. I blog at https://ashokaon.tech, I will be writing about all things technology and coding.

Comments and Discussions

 
QuestionBroken links Pin
  Forogar  26-Sep-16 8:08
professional  Forogar  26-Sep-16 8:08 
Questiondose no release vs 2010 style in MFC MDI Pin
haoyujie22-Apr-14 22:50
haoyujie22-Apr-14 22:50 
Questionsome important function come back 10s years later Pin
haoyujie22-Apr-14 22:35
haoyujie22-Apr-14 22:35 
GeneralThanks Pin
prakashrthd3-Feb-14 1:47
prakashrthd3-Feb-14 1:47 
QuestionWe don't all have Visual Studio Ultimate! Pin
Qwertie18-Dec-13 9:26
Qwertie18-Dec-13 9:26 
AnswerRe: We don't all have Visual Studio Ultimate! Pin
Valery Possoz14-Dec-14 1:45
professionalValery Possoz14-Dec-14 1:45 
QuestionAnd a not so nice feature Pin
Ken33311-Dec-13 9:17
Ken33311-Dec-13 9:17 
QuestionUpdates for all new features ? Pin
kiquenet.com7-Nov-13 4:24
professionalkiquenet.com7-Nov-13 4:24 
QuestionCool New Feature!!! Pin
deanofharvard5-Nov-13 6:22
deanofharvard5-Nov-13 6:22 
QuestionVS2013 Features Pin
Member 102598707-Sep-13 23:45
Member 102598707-Sep-13 23:45 
QuestionVS 2013 New features Pin
Member 102598707-Sep-13 23:25
Member 102598707-Sep-13 23:25 
GeneralMy vote of 5 Pin
Member 102598707-Sep-13 23:24
Member 102598707-Sep-13 23:24 
GeneralMy vote of 4 Pin
IslamHossam22-Aug-13 3:13
professionalIslamHossam22-Aug-13 3:13 
GeneralMy vote of 4 Pin
Matin hemmati12-Aug-13 18:14
Matin hemmati12-Aug-13 18:14 
GeneralMy vote of 5 Pin
JayantaChatterjee12-Aug-13 4:55
professionalJayantaChatterjee12-Aug-13 4:55 
My vote of 5.
Thanks Sir, Its Awesome and knowing us about new features of VS 2013.. Smile | :)
QuestionMessage Closed Pin
11-Aug-13 5:54
user558320811-Aug-13 5:54 
AnswerRe: Hmm, no sign of lazyness! Pin
Dewey11-Aug-13 9:30
Dewey11-Aug-13 9:30 
GeneralMessage Closed Pin
11-Aug-13 10:16
user558320811-Aug-13 10:16 
AnswerRe: Hmm, no sign of lazyness! Pin
Matin hemmati12-Aug-13 18:13
Matin hemmati12-Aug-13 18:13 
QuestionMy Vote 5 Pin
User 1006066510-Aug-13 20:31
User 1006066510-Aug-13 20:31 
AnswerRe: My Vote 5 Pin
Ashoka RKT10-Aug-13 21:08
professionalAshoka RKT10-Aug-13 21:08 
GeneralMy vote of 2 Pin
Klaus Luedenscheidt10-Aug-13 18:03
Klaus Luedenscheidt10-Aug-13 18:03 
GeneralRe: My vote of 2 Pin
Ashoka RKT10-Aug-13 19:23
professionalAshoka RKT10-Aug-13 19:23 
GeneralRe: My vote of 2 Pin
David H. Wright11-Aug-13 10:21
professionalDavid H. Wright11-Aug-13 10:21 
GeneralRe: My vote of 2 Pin
Klaus Luedenscheidt11-Aug-13 18:53
Klaus Luedenscheidt11-Aug-13 18:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.