Visual Studio - 在代码/设计器模式下自动隐藏/显示工具箱

发布于 2024-12-14 02:47:32 字数 94 浏览 1 评论 0原文

我知道我可以手动固定和取消固定 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

凉城已无爱 2024-12-21 02:47:32

据我所知还没有;我认为工具箱无法区分代码视图和设计视图。

您可以使用 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.

酷遇一生 2024-12-21 02:47:32

也许 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文