2013中保存窗口布局吗

2013中保存窗口布局吗

本文介绍了我可以在Visual Studio 2010/2012/2013中保存窗口布局吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在VS2010/VS2012/2013中保存(然后还原为)给定的窗口布局?

Is there a way to save (and later revert to) a given window layout in VS2010/VS2012/2013?

推荐答案

是的,您可以使用导入和导出设置向导"(在工具"菜单中找到)仅将与当前窗口布局相关的设置导出到一份文件.取消选中常规设置">窗口布局"以外的所有内容,然后将文件保存在以后可以找到的位置.

Yes, you can use the "Import and Export Settings Wizard" (found in the Tools menu) to export only the settings that relate to your current window layout to a file. Uncheck everything but "General Settings" > "Window Layouts", and save the file somewhere you'll be able to find it later.

然后,您可以再次使用导入和导出设置向导"来导入该设置文件,将所有工具窗口恢复到其先前的布局. (请注意,该向导还允许您以与限制导出内容相同的方式来限制从特定设置文件中导入 .)

Then, you can use the "Import and Export Settings Wizard" again to import that settings file, restoring all of your tool windows to their previous layout. (Note that the wizard also allows you to limit what you import from a particular settings file the same way you can limit what you export.)

我在笔记本电脑上使用它,在单显示器和多显示器设置之间来回切换使窗口管理变得非常痛苦.我只维护描述最常用的每种布局的设置文件,并在需要时导入最适合我当前工作环境的布局.

I use this on my laptop, where switching back and forth between single and multiple monitor setups turns window management into a real pain. I just maintain settings files that describe each of the layouts I use most frequently, and import the one that best fits my current working environment when I need it.

Zain Naboulsi在此处,并附有说明性的屏幕截图.

Zain Naboulsi has blogged about the process here, complete with illustrative screenshots.

更新:VS团队的Praveen Sethuraman 指出 Visual Studio 2015最后可以将自定义布局保存为内置的一流功能.但是,我还没有机会测试实现.

Update: Praveen Sethuraman, from the VS team, points out that Visual Studio 2015 finally has the ability to save custom layouts as a built-in, first-class feature. However, I have not had a chance to test the implementation yet.

这篇关于我可以在Visual Studio 2010/2012/2013中保存窗口布局吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 18:16