Lock down placement of panes from Visual Studio

試著忘記壹切 提交于 2021-01-20 18:59:07

问题


Ok, if you're like me, you've accidentally dragged one of the many, many panes in Visual Studio around and spent some tedious time getting things back in order again.

Is there any way to lock down all the panes in Visual Studio so they cannot be dragged and placed elsewhere ?


回答1:


As far as I know, no. But everything for getting for working with tabs and tab groups is inside the "Window" menu item in VS. But if you want to reset everything back to the way it was why not try:

Window -> Reset Windows Layout

You might also want to check out this Arranging and Using Windows in Visual Studio, I think you might be able to create a workspace, save it and if needed reset back to it after you moved windows around.




回答2:


When you have your pane layouts (as well as your fonts, toolbars, colour schemes and whatnot) the way you like them, export your settings (Tools, Import and Export Settings) and give the file a sensible name. Then if you have a spot of accidental dragging, just import your saved ones. This is better than Reset Layout if your preferred layout is not the default.




回答3:


Export your settings according to Mar's answer and then check out this extension:

http://visualstudiogallery.msdn.microsoft.com/a79072f7-3109-44a0-95c0-9c50e729d6a3

A real lifesaver :)




回答4:


Feature request on User Voice:

Lock/Unlock Docked Window Layout




回答5:


You can reset Visual Studio windows back to the default by going to Window->Reset Window Layout (Visual Studio 10). Other versions have something similar. This helps the tedium on dragging the windows back in order.



来源:https://stackoverflow.com/questions/5463739/lock-down-placement-of-panes-from-visual-studio

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