Hide Sign in and Feedback buttons in the Visual Studio 2013 main window

Visual Studio 2013 adds new elements to the main window such as feedback, notifications and sign in buttons:

Feedback and Sign in buttons in the main Visual Studio 2013 window

Feedback and Sign in buttons in the main Visual Studio 2013 window

If you don’t use your account to sign in, then the corresponding button becomes completely useless. Sending feedback for VS is a very rare activity and also doesn’t justify an always visible control (having Feedback commands in the Help menu is good enough). So it would be nice to hide these buttons by default.

As Visual Studio 2013 doesn’t have any built-in settings to control visibility of these buttons, one solution is to write an extension to directly modify corresponding WPF controls in the main Visual Studio window. WPF controls for the buttons can be discovered with Snoop. Using Visual Commander I’ve created the Hide Sign in and Feedback buttons in Visual Studio 2013 extension that automatically hides the buttons:

Hidden Feedback and Sign in buttons in the main Visual Studio 2013 window

Hidden Feedback and Sign in buttons in the main Visual Studio 2013 window

As you can see in the code, updating the buttons every second is not elegant, but as the Feedback button is created asynchronously and sometimes recreated (e.g. returning from the Visual Studio full screen mode) it is the simplest (and robust) solution. You can easily tweak the code e.g. to hide only one button or change the update interval. One more feature that can be added is to hide the Notifications button when there are no notifications, but it will require monitoring for notification arrival.

Download vcmd extension for Visual Commander to hide Sign in and Feedback buttons.

Update: Alternatively you can delete corresponding keys from HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\MainWindowFrameControls.

This entry was posted in Vlasov Studio tools and tagged , . Bookmark the permalink.

1 Response to Hide Sign in and Feedback buttons in the Visual Studio 2013 main window

  1. Tomas Tucek says:

    Thanks for the post – on top of that I made following PowerShell script that will do all the parade (no extension needed)!

    Get-ChildItem HKCU:\Software\Microsoft\VisualStudio\12.0_Config\MainWindowFrameControls | Get-ItemProperty | Where-Object {$_.'(default)’ -like “*User Information Card*”} | Remove-Item
    Get-ChildItem HKCU:\Software\Microsoft\VisualStudio\12.0_Config\MainWindowFrameControls | Get-ItemProperty | Where-Object {$_.'(default)’ -like “*Feedback Button*”} | Remove-Item

    Disclaimer: The script is provided as is. Tested on VS 2013 only.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s