<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Powertoys | The .NET Blog</title><link>https://thedotnetblog.com/zh/tags/powertoys/</link><description>Articles, tutorials and insights from the .NET community.</description><generator>Hugo</generator><language>zh</language><managingEditor>@thedotnetblog (The .NET Blog)</managingEditor><webMaster>@thedotnetblog</webMaster><lastBuildDate>Fri, 10 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/zh/tags/powertoys/index.xml" rel="self" type="application/rss+xml"/><item><title>那个你不知道的Visual Studio浮动窗口设置（但你应该知道）</title><link>https://thedotnetblog.com/zh/news/emiliano-montesdeoca/visual-studio-floating-windows-powertoys/</link><pubDate>Fri, 10 Apr 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/zh/news/emiliano-montesdeoca/visual-studio-floating-windows-powertoys/</guid><description>Visual Studio的一个隐藏设置让你完全控制浮动窗口 — 独立的任务栏条目、正确的多显示器行为，以及完美的FancyZones集成。一个下拉菜单改变一切。</description><content:encoded>&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;本文为自动翻译。查看原文请&lt;a href="https://thedotnetblog.com/zh/news/emiliano-montesdeoca/visual-studio-floating-windows-powertoys/"&gt;点击这里&lt;/a&gt;。&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;如果你在Visual Studio中使用多个显示器（说实话，现在谁不用呢？），你可能经历过这种烦恼：浮动工具窗口在你最小化主IDE时消失，它们总是在所有窗口之上，而且不会在任务栏中显示为单独的按钮。这对某些工作流有效，但对多显示器设置来说很令人沮丧。&lt;/p&gt;
&lt;p&gt;Visual Studio团队的Mads Kristensen &lt;a href="https://devblogs.microsoft.com/visualstudio/take-full-control-of-your-floating-windows-in-visual-studio/"&gt;分享了一个鲜为人知的设置&lt;/a&gt;，它完全改变了浮动窗口的行为。一个下拉菜单。就这样。&lt;/p&gt;
&lt;h2 id="设置"&gt;设置&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Tools &amp;gt; Options &amp;gt; Environment &amp;gt; Windows &amp;gt; Floating Windows&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;下拉菜单&amp;quot;These floating windows are owned by the main window&amp;quot;有三个选项：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;None&lt;/strong&gt; — 完全独立。每个浮动窗口都有自己的任务栏条目，行为就像普通的Windows窗口。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tool Windows&lt;/strong&gt;（默认）— 文档自由浮动，工具窗口保持与IDE绑定。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Documents and Tool Windows&lt;/strong&gt; — 经典的Visual Studio行为，所有窗口都绑定到主窗口。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="为什么none是多显示器设置的最佳选择"&gt;为什么&amp;quot;None&amp;quot;是多显示器设置的最佳选择&lt;/h2&gt;
&lt;p&gt;将其设置为&lt;strong&gt;None&lt;/strong&gt;，突然间你所有的浮动工具窗口和文档都像真正的Windows应用程序一样运行。它们出现在任务栏中，当你最小化Visual Studio主窗口时保持可见，并且不再强制自己始终在最前面。&lt;/p&gt;
&lt;p&gt;将此与&lt;strong&gt;PowerToys FancyZones&lt;/strong&gt;结合使用，效果惊人。在你的显示器上创建自定义布局，将解决方案资源管理器放在一个区域，调试器放在另一个区域，代码文件放在你想要的任何地方。一切都保持在原位，一切都可以独立访问，你的工作空间感觉有条理而不是混乱的。&lt;/p&gt;
&lt;h2 id="快速建议"&gt;快速建议&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;多显示器高级用户&lt;/strong&gt;：设置为&lt;strong&gt;None&lt;/strong&gt;，搭配FancyZones&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;偶尔浮动的用户&lt;/strong&gt;：&lt;strong&gt;Tool Windows&lt;/strong&gt;（默认）是不错的折中方案&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;传统工作流&lt;/strong&gt;：&lt;strong&gt;Documents and Tool Windows&lt;/strong&gt;保持经典行为&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;专业提示：在任何工具窗口的标题栏上&lt;strong&gt;Ctrl + 双击&lt;/strong&gt;即可立即浮动或停靠。更改设置后无需重启。&lt;/p&gt;
&lt;h2 id="总结"&gt;总结&lt;/h2&gt;
&lt;p&gt;这是那种&amp;quot;我不敢相信我之前不知道&amp;quot;的设置之一。如果Visual Studio中的浮动窗口曾经让你烦恼，现在就去改掉它。&lt;/p&gt;
&lt;p&gt;阅读&lt;a href="https://devblogs.microsoft.com/visualstudio/take-full-control-of-your-floating-windows-in-visual-studio/"&gt;完整文章&lt;/a&gt;获取详细信息和截图。&lt;/p&gt;</content:encoded></item></channel></rss>