Notifications in Visual Studio 2013

Notifications in Visual Studio 2013

Rate This
  • Comments 38

One of the benefits to having a connected IDE is that your environment can be kept up to date easily by presenting you with notifications of updates and relevant account information. Visual Studio will not only keep your environment up to date but also keep you in control of your preferred configurations.

There are two main avenues for presenting you with notifications of an event in your environment that requires your attention.

The first avenue is Contextual notification presentation, which requires immediate surfacing to provide developers real-time information based on an action that has been performed or the result of something.

Some examples of this presentation are:

  • Build Solution - the status bar found along the bottom of the IDE is updated with the text: “Build started…”
  • Incorrect code syntax - the red “squiggles” found in the editor identify code that is not syntactically correct.

The second avenue is for Environment/IDE specific notification presentation. Unlike contextual presentation, this type does not need to be surfaced immediately to you. In most cases, you can continue to work in Visual Studio and take action on these messages when it’s convenient for you.

Some examples of environment/IDE specific presentation are:

  • Visual Studio Product Update is available
  • An update to an extension you have installed is available
  • Your trial of Visual Studio will expire soon

In Visual Studio 2012, we enhanced the Extension Updates notification mechanism to also notify you of our product updates (get the latest here!). When an update is detected, we surface a message as a Windows Task Tray notification.

VS2012 task tray notification

Because of how tray notifications work, you may miss notifications if you happen to step away from your machine. If you dismissed it thinking you would handle it later, there was no way to see it again. We also heard a request from customers to make the text more descriptive of the kind of update that was detected.

Notifications

In Visual Studio 2013, we have centralized the environment/IDE specific notifications to accommodate the growing number of notifications in the IDE and you’ll find it works similar to the way you work in Visual Studio.

The new notifications experience will:

  • Surface notifications that are relevant and specific to your environment
  • Help you easily determine what’s going on in your environment and display priority (based on the importance of the message)
  • Let you decide what you want to take action on and when
  • Stay out of your way; won’t block your code or projects

The new Notifications experience, badge in upper right corner

There a two components to the new notifications experience:

1. Notifications Badge – The badge has four unique states to provide insight into what the Notifications Hub currently contains and to help identify if new notifications have arrived since the last time you viewed the hub.

4 unique states of the badge - empty, non-empty, new notification, critical

2. Notifications Hub – The hub is where you can review all your notifications and take action on them. Notifications in the hub are sorted based on creation date and time. For example purposes, I have included a critical and informational notification below.

Notification Hub

What You’ll Find in the Hub

In Visual Studio 2013 Preview and RC, you may notice one or more of the following types of notifications in your hub. Here’s some additional details on why they are there:

  • Product Updates – Future updates for Visual Studio or newly available SDKs
  • Visual Studio Gallery – Any new update available for extensions you have installed from the gallery
  • Samples Gallery – Any new updates available for samples you have installed
  • Download Offline Help – First launch experience has been streamlined and the option to install offline help can now be found as a notification
  • Synchronized Settings Conflicts – Any conflicts at the time of settings synchronization, will be surfaced via a notification (read an MSDN Article about Resolving settings conflicts for more info)
  • Licensing – Occasionally Visual Studio needs to communicate some information about your license that requires an action; one example is that your trial is expiring
  • Customer Improvement Experience Program – Join the Customer Experience Improvement Program; it’s one of the easiest ways for you to give us feedback

If you’re using the Preview, you might have already noticed a new notification surface in the hub letting you know that the Visual Studio 2013 RC release is available for download.

Prioritization

Notifications are prioritized into 3 levels each with a respective color to easily identify them: Informational (gray), Important (yellow) and Critical (red). You’ll find a majority of notifications in your hub to be informational but sometimes when Visual Studio needs to surface something to you that you should take immediate action on, the notification will be marked with a higher priority.

Taking Action on a Notification

You can take action on the notifications in your hub by simply clicking on the title of the notification. This action will bring you to the place where you can decide if you’d like to take action. We won’t auto-install a product or extension update for you, like in the case of a Product or Extension update.

You’ll see below that after selecting the “Windows Azure SDK for .NET 1.8.1 is available” that the Extensions and Updates manager is opened and focus is in the relevant category of the dialog (Product Updates). Once you have taken the noted action, the notification will automatically be removed from the hub.

Taking action on a notification

If you decide you want to ignore a specific notification, you can simply dismiss it by hovering over the notification and selecting the X in the upper right hand corner or select Dismiss All to remove and ignore all notifications from your hub.

Dismiss and Dismiss All

Visual Studio won’t notify you again about that message unless there has been a change in the details of the notification; maybe you ignored the 1.2 update for an Extension and a week later the 1.3 version is released. You would then see the 1.3 update, but never see the 1.2 update again.

To ensure the hub doesn’t bloat over time, all notifications have an expiration date that is clearly shown under the notification. Once a notification expires, it will no longer be viewable in the hub. Expired notifications behave in the same way that dismissed notification do; they are removed from the list and will no longer be displayed in the hub. New versions or messages that become available will generate a new notification in the hub for example.

What do you think?

As with most of the new experiences we’ve introduced in Visual Studio 2013 Preview, we believe these are just the first steps for notifying you about relevant activities going on in the IDE. If there’s functionality you’d love to see in the hub or different messages that you’d like to see surfaced, please let us know by creating a suggestion on User Voice (in the IDE category) for the community to vote on. If you find a bug use the Connect site to let us know.

A special thanks to the Notifications feature crew for helping review and edit this post (thanks Filip, Andrew and Alana)!

image Short Bio – Cathy Sullivan is a Program Manager on the Visual Studio platform team. Cathy joined Microsoft in 2006 and worked as a developer in Microsoft IT building enterprise applications. She joined the Visual Studio team in 2011 and has worked on a variety of areas including C#/Visual Basic IDE, Visual Studio Shell and IDE Experiences. When she’s not working on improving user experiences in the IDE, you can find her speaking on what’s new in Visual Studio at conferences like DevConnections, VSLive! and BUILD.
Leave a Comment
  • Please add 8 and 8 and type the answer here:
  • Post
  • @Alin, done:

    visualstudio.uservoice.com/.../4574772-make-notifications-extensible

  • I have just upgraded from VS2012 with TFS2012 Power Tools to VS2013 with TFS2013 Power Tools. I am running Windows 8.1. I am not a developer, so I don't always have VS open. I work in Operations and need to monitor when builds complete/fail etc. so I know when I can deploy something.

    I used to use the Build Notification App that came with TFS 2012 Power Tools and lived in the notifications area (bottom right of screen). It was simple - Red Icon = Failure, Green Icon = All good. Right Click on a build and you could go the Drop Location and verify if all the build files were there etc.

    With VS2013 and TFS2013 Power Tools, the Build Notification App has disappeared.

    When I try to search for it from the home screen I get nothing. I have Googled and Binged about where it is, but with no success. There is an article here: msdn.microsoft.com/.../ms181725.aspx

    stating that you can get to it by going to Start >  Run, but that obviously applies to Windows 7.

    Where has the Build Notification App gone in the latest version?

  • I'm a bit late to the party here, but it would be awesome if this notification feature could capture alerts from TFS. A notification would show up when a work item is assigned to me, or a work item I resolved has been closed, or something like that.

  • I was wondering if I could use this feature to send notifications to the development team associated to my team project, then they could take actions based on those notifications.

    For instance, we are using EF6, code-first approach, and it is extremely important that developers get latest before they add a new migration, to avoid messing with the migration history, since this is the most delicate aspect of code first migrations.

    Then, every time someone adds a migration, we would have a notification for the team to get latest.

    Regards,

  • I would really like to see TFS build notifications here. Currently, when using Visual Studio Online, the only notifications is by email.

  • Hi there

    thanks for sharing this guide

    I need to see the sql and table menu in menu bar

    now when I tap to tools > customize > command tab and select menu bar I can see the sql and table there but how can active them to be in my vs menu bar .

    I select the add command and choose table in the left panel and then I right panel select the table designer and ok the add command window and then close customize . now i can see table menu in menu bar but this menu is off and can't doing designing

    so help me how can add these two menu in menu bar : sql and table

    again thanks

    Great Regards :

    Raha

  • This additional annoyware is yet another step in alienating users.

    Together with the horrible menu  fonts, unreadable icons and color scheme in VS and the Microsoft account force feeding during installation of windows 8.1.

    AT LEAST ADD OPTION TO TURN THIS OFF!

  • I like to configure my IDE to be as uncluttered as possible and would like to hide the notification hub, sign in and feedback controls - I find them distracting.

    Please add some sort of preference toggle to hide these controls..

Page 3 of 3 (38 items) 123