Visual Studio - 在代码/设计器模式下自动隐藏/显示工具箱
我知道我可以手动固定和取消固定 Visual Studio Toolbox,但我想做的是在查看设计器时将其固定,并在查看代码时自动隐藏。这可能吗?
谢谢,杰米
I know I can manually pin and unpin the Visual Studio Toolbox, but what I would like to do is have it pinned when viewing the designer and automatically hide when I view the code. Is this possible?
Thanks, Jamie
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据我所知还没有;我认为工具箱无法区分代码视图和设计视图。
您可以使用 Visual Studio SDK 编写一个扩展来执行您所要求的操作,但我认为否则不可能。
Not as far as I know; I don't think the toolbox can differentiate between code and design views.
It's possible you could write an extension with the Visual Studio SDK that does what you're asking but I don't think it is possible otherwise.
也许 Perspectives 扩展可以帮助您。安装后,您可以在 Visual Studio 2010 中将当前布局保存为透视图(就像在 Eclipse 中一样),然后在它们之间切换。
Maybe Perspectives extension can help you. After installing you can save your current layout as perspective (just like in Eclipse) in Visual Studio 2010 and then switch between them.