Disable code window undock in VS2010

天涯浪子 提交于 2020-01-15 05:07:19

问题


I've seen cases where people are asking how to disable on double click.

But i'd like to go one further and disable the feature altogether, does anyone know how to? I don't mean all windows (Properties, Debug, Output) just code windows (Pages, Controls, other files)

I'm using VS2010 SP1 + PowerTools and I keep undocking code windows when selecting the tab if i accidently drag down and it's really frustrating!

Many thanks in advance, Cheers, P.


回答1:


I also don't know any option to disable it, but you can restore the window to its last position by "Ctrl + Double-Click" on the tab's title bar.

Hope it helps.




回答2:


These are two same question:

Turn off double-click undock in VS2010

How to disable floating tabs in Visual Studio 2010

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"

http://i.stack.imgur.com/XxODT.png



来源:https://stackoverflow.com/questions/7309788/disable-code-window-undock-in-vs2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!