Ten Tips to Get the Maximum out of Visual Studio 2013

Introduction

As developers targeting the Microsoft platform, it has always been considered a “requirement” to use Visual Studio, and most developers do use it. However, not everyone who uses Visual Studio uses all of the features available in a particular version. In the fall of 2013, Microsoft released Visual Studio 2013 with even more features than before. In that light, this article serves to share the top 10 tips to get the maximum out of Visual Studio 2013.

Before we start with the tips, I want to share the Zeroth tip – install the updates for Visual Studio 2013.

Tip 1 – Consistent Working Environment across Programming Devices Using Profile Settings

One of the new things that users will notice about Visual Studio 2013 is that the IDE will ask you to sign into your Visual Studio profile. One might wonder why this is needed. Microsoft has built in first class support to ensure developers that use multiple programming devices have the same programming experience by storing the profile and basing the experience on the profile (if the user is signed in). This means, that if you like the “Dark theme” as your ideal work theme, you can make that your default theme by signing into your profile.

You can customize what is stored as part of your roaming file by going to Tools -> Options and selecting Environment – Synchronized Settings.

Options > Synchronized Settings
Options > Synchronized Settings

You can see that by default, the appearance, environment aliases, keyboard shortcuts, text editor and startup behavior are synchronized.

Tip 2 – Quick Launch Any Command

Up until Visual Studio 2013, being a super-developer meant remembering the menu/keyboard shortcut for a particular command. With Visual Studio 2013, commands are now searchable through the quick launch bar. The Quick Launch bar is activated by the Ctrl + Q combination and we can just start typing the command name we want to use.

The Quick Launch bar is displayed on the IDE as shown below.

Quick Launch
Quick Launch

In my case, I am searching for the command to attach my debugger to a process. I start by typing “Debug” and the search results are populated.

Search Results are Populated
Search Results are Populated

You can see all the debug related commands. You can now select the command you want and it will be launched.

Tip 3 – Better Search

Search now works better in Visual Studio 2013. For example, instead of going through all the different node combinations to arrive at the template you want to use in the New Project Dialog, you can simply search the installed templates (Shortcut Ctrl + E).

Here is how the New Project Dialog looks. Say for example, you were looking for a template to create a new Windows Phone application in C#, you will have to go to Visual C# -> Windows Phone and select an applicable template from there.

New Project > Templates
New Project > Templates

With search, you can simple type “C# Windows Phone App” in the Search box, and you will be presented a list of templates matching your criteria.

List of Templates
List of Templates

Such Search support is not restricted to only the New Project Dialog. It is available throughout various dialogs in Visual Studio 2013. One of the most helpful places where this will save time is the Tools -> Options dialog. With a myriad of options to choose from, the search is a very helpful feature to triangulate on the command you want.

Tip 4 – Listen to Notification Updates

One of the new features in Visual Studio is the Notifications area, which you can reach by clicking the “Flag” icon next to your profile link.

Notifications Flag
Notifications Flag

When the notifications are active, and you click on the Flag icon, you will be presented a list of notifications that you might need to act upon.

Notifications
Notifications

At present, the notifications provided are simple – like expiry of trial version of your installations, or a newer version of an installed library being available. However, Microsoft has promised to have richer notifications to be presented as they build momentum behind this feature.

Tip 5 – Window Management

With most developers working in the world with multiple monitors, why should your IDE lag behind? With Visual Studio 2012, Microsoft made some advancement in this space, but with Visual Studio 2013, the support has gone deeper.

Earlier, we could only dock a specific source file into another monitor. With Visual Studio 2013 (and 2012 also), we can dock multiple files in the second monitor. To do this, drag and drop the title of the file (after opening it from the solution explorer) to the monitor where you want to display the file.

Window management becomes more efficient when you club the window management features of the Windows operating system with Visual Studio 2013.

For example, the “Windows + L” key docks a document to the left and “Windows + R” allows a developer to dock the XAML on the left and code behind of the XAML on the right, and work on them at the same time for increased productivity.

Tip 6 – Solution Explorer Everywhere

Visual Studio 2013 supports multiple Solution Explorer views. This helps when you are working in a multi-monitor development environment and you want to have the context of where you are working. Additionally, the new Solution Explorer can be scoped to a specific folder or project.

To open a second Solution Explorer window, right click the folder or project you want to open the Solution Explorer window for and choose “New Solution Explorer View”

New Solution Explorer View
New Solution Explorer View

In the above example, the new solution Explorer will only have the contents of the Assets folder.

Solution Explorer
Solution Explorer

Having a second Solution Explorer window can be greatly beneficial to developers who want to use multiple monitors for different aspects of their projects.

Tip 7 – Quick Navigation

To quickly navigate to any function, you can invoke the NavigateTo features by using the “Ctrl + ,” keyboard combination. When “Ctrl + ,” is invoked, a window pops up where you can type the search term. The search is iterative and you can quickly go to the desired location.

NavigateTo
NavigateTo

To exit the NavigateTo feature, click “Esc”.

Tip 8 – Install Productivity Power Tools for Visual Studio 2013

Visual Studio 2013 packs a punch, but you can still get lots more out of it if you install the Productivity Power tools for Visual Studio 2013 available at http://visualstudiogallery.msdn.microsoft.com/dbcb8670-889e-4a54-a226-a48a15e4cace

The productivity power tools include peek help, better visualization of errors in Solution Explorer, open a command prompt from within Visual Studio, and the ability to create snippets.

Tip 9 – Learn Keyboard Shortcuts

While the Quick launch window helps with finding commands, it never hurt to master keyboard shortcuts for the commands you frequently use. You can learn all the keyboard shortcuts for Visual Studio at http://msdn.microsoft.com/en-us/library/vstudio/dn320181(v=vs.120).aspx.

Tip 10 – Use Code Map to Visualize Your Complex Code

If you have multiple dependencies in your solution, you can get a simple view by creating a code map. To do that, go to Solution Explorer and click the “Show on Code Map” link. This will result in Visual Studio 2013 analyzing your project/solution and compiling a code map.

Show on Code Map
Show on Code Map

This will create a Code map as shown below.

Code Map
Code Map

You can double click on a specific name to give a finer breakdown of interaction.

Breakdown of Interaction
Breakdown of Interaction

This should give a simpler view of the various interactions of your code.

Summary

In this article, we learned about 10 tips to get the best of Visual Studio 2013. If you have your own tips that you would like to share with the developer community, please leave them as comments to the article.

About the author

Vipul Patel is a Program Manager currently working at Amazon Corporation. He has formerly worked at Microsoft in the Lync team and in the .NET team (in the Base Class libraries and the Debugging and Profiling team). He can be reached at vipul.patel@hotmail.com



Related Articles

Comments

  • Install Resharper

    Posted by Peter on 06/02/2014 03:48am

    For me just install - JetBrains Resharper! Your productivity grows up!

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: November 20, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT Are you wanting to target two or more platforms such as iOS, Android, and/or Windows? You are not alone. 90% of enterprises today are targeting two or more platforms. Attend this eSeminar to discover how mobile app developers can rely on one IDE to create applications across platforms and approaches (web, native, and/or hybrid), saving time, money, and effort and introducing apps to market faster. You'll learn the trade-offs for gaining long …

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds