John Sheehan : Blog

About This Post

Stupid Visual Studio Trick, Part 2

Continuing my series of ‘Stupid Visual Studio Tricks’ (see Part 1), today’s tip fixes one of the more annoying things about Visual Studio: bouncing/flashing/crazy context-sensitive toolbars. This is particularly annoying when working with SQL Server Management Studio over RDP because it frequently causes a full-window redraw which can be soooo sloooowww. The jumping toolbars also drove me crazy when I used the Copy Web Site feature, but I don’t use that anymore.

To work around this annoyance, I create an empty toolbar as such:

  1. Right click in an empty section of the toolbar area, select ‘Customize…’
  2. Select the ‘Toolbars’ tab and click ‘New…’
  3. Give the toolbar a name (I use "Blank"; clever, huh?) and hit ‘OK’
  4. Drag the newly created toolbar (which can be tough to spot but it should be just to the right of the Customize dialog) up to the far right of the toolbar area.
    vsblanktoolbar

The next time you open a window you might see three toolbar rows instead of two with the middle one just being the blank toolbar you created. Just drag the bottom row up to the middle row and it will be there next time you open a file. Now go ahead and switch between a .aspx and code-behind file. No more jumping toolbars!

  • Thankyou, Thankyou, Thankyou, Thankyou, Thankyou, Thankyou. :D
  • John
    Since writing this tip, I've started to put some of the more common items I use on that toolbar. VisualSVN commands, SubSonic external tool item, etc. It's becoming even more handy all the time.
blog comments powered by Disqus