How to disable floating tabs in Visual Studio 2010
I now use the new Visual Studio 2010 and I experience something very annoying that wasn't happening before with Visual Studio 2008. Something changed with the way it handles the floating of tabs and I can't stand it. Every once in a while, I would somehow trigger the floating of a tab instead of just switching to it. It may have to do with the way I click (maybe a very fast double click gets sent), or maybe I very slightly drag the mouse when clicking the tab. I don't know. All I know is that I was fine with Visual Studio 2008.
Is there a way to disable this somewhere? I want to either un-register the double click as a floating tab trigger, or remove the 开发者_开发知识库floating option altogether.
How can I do that?
Thanks.
I'm not sure how to disable it, but if you hold Ctrl
and double click the tab again, it will dock back to its last position.
I found this very annoying but with Ctrl+DoubleClick the problem is not so painful anymore.
It looks like the latest edition of Productivity Power Tools includes features to change how the tabs are displayed / can be used. It does not currently support disabling of floating tabs or disabling dragging tabs off the dock; but in the comments section of the page, there is mention of adding it in future versions.
Bonus feature: middle click scrolling.
For anyone who actually wants the answer to this, in my version of Productivity Power Tools (v10.0.20626.18) there is a way to disable this "feature".
Tools->Options->Productivity Power Tools->Document Tab Well->General->Advanced Options...
Under the "Floating Tab Well" group box, uncheck "Enable float on double-click"
It looks like the tabsstudio add-in could do what you want (disable the double click cause for un-docking at least), however it's not free. ($49) *disclaimer: I didn't try it myself.
Plus it looks like it does some other cool stuff.
I had this same problem - none of the above answers fixed my problem. I finally figured what my particular issue was:
I had inadvertently opened a Document Outline window on one of my xaml pages, and switching between that page and others was rearranging the tab bar. Either because of VS itself, or a combination of the add-ons I use, VS seemed to be interpreting this tab bar movement as a mouse drag, and was undocking whatever tab I switched to from the tab with the Document Outline. I closed the Document Outline box and now I no longer want to murder Visual Studio.
This, solve the problem! just close "Document Outline" Window.
精彩评论