Visual Studio 2012:更改“启用浮动标签页"的设置 [英] Visual Studio 2012: change setting for "Enable floating tab wells"

查看:148
本文介绍了Visual Studio 2012:更改“启用浮动标签页"的设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS2012上遇到麻烦,并且在单独的窗口中打开了代码.

I'm having troubles with VS2012 and code opened in separate windows.

查看以下屏幕截图:

See this screenshot:

主窗口打开,另一个窗口打开(源代码管理"资源管理器只是屏幕截图的一个示例,我在源代码文件中也得到了相同的行为).我曾经在Visual Studio的任务栏上获得两个项目.现在只有一个.

Main windows is open, another window is open (Source Control explorer is just an example for the screenshot, I get the same behavior with source code files). I used to get two items on the task bar for the Visual Studio. Now it is only one.

有一个设置:

但是我无法撤消.每次取消选中此设置时,任务栏上都会闪烁另一个项目,但该项目会立即消失.然后,我返回相同的设置,再次选中浮动选项卡孔始终位于顶部"旁边的复选框!真烦人.

But I can't get it undone. Every time I un-check this setting, I get a flicker of another item in task bar, but it goes away immediately. Then I go back to the same settings, the checkbox next to "Floating tab wells always stay on top" is checked again! That is very annoying.

我已将设置跟踪到注册表设置HKCU\Software\Microsoft\VisualStudio\11.0\DialogPage\Microsoft.VisualStudio.Platform.WindowManagement.Options.TabsAndWindowsOptionsPage\EnableIndependentTabWell,并在VS不运行时尝试将其设置为True(它是False).但是,一旦VS启动,它就会再次切换为False.

I have traced the setting to a registry setting HKCU\Software\Microsoft\VisualStudio\11.0\DialogPage\Microsoft.VisualStudio.Platform.WindowManagement.Options.TabsAndWindowsOptionsPage\EnableIndependentTabWell and tried setting it to True (it was False) when VS was not running. But as soon as VS is started, this is switched to False again.

我已经安装了2012年的Power Tools-它具有一些自定义标签孔的设置,但是我现在删除了该扩展名.我相信该扩展程序是导致此问题的原因,但是为什么在卸载扩展程序后它仍然存在?以及我该如何解决?

I have installed Power Tools for 2012 - that has some setting for custom tab wells, but I have removed that extension now. I believe the extension caused the issue, but why does it persist after un-installing of the extension? And how do I fix it?

UPD::当我以安全模式(通过devenv /safemode)运行VS时,该设置将保持不变.但是,只要我运行正常模式,它就会自动更改.

UPD: When I run VS in safemode (via devenv /safemode) that setting is persisted. But as soon as I run normal mode, it is changed automatically.

UPD 2:应该谴责Resharper 7.1.此问题是由此错误引起的.要启用下面的浮动选项卡,请执行以下操作:这种情况需要关闭"always on top"选项,您可以通过将设置文件安装到ReSharper设置(ReSharper | Manage Options | Add Layer)来解决ReSharper行为.可能会导致浮动窗口中ReSharper功能的错误行为.通过 Resharper论坛

UPD 2: Resharper 7.1 is to blame. This issue caused by this bug. To enable floating tabs going under do the following: this scenarios require switching the "always on top" option off, you can work around ReSharper behavior by mounting settings file to your ReSharper settings (ReSharper | Manage Options | Add Layer) Please note that this may lead to incorrect behavior of ReSharper functionality in floating windows. Via Resharper forum

文件AllowFloatingTabWells.DotSettings

File AllowFloatingTabWells.DotSettings

<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
  <s:Boolean x:Key="/Default/Housekeeping/SuppressOwnerlessFloatingWindows/IsDisablingIndependentFloating/@EntryValue">False</s:Boolean>
</wpf:ResourceDictionary>

推荐答案

您是否正在使用Resharper?然后,这可以解释问题.只需在以下网站中搜索浮动广告即可: http ://blogs.jetbrains.com/dotnet/2012/09/resharper-71-early-access-is-open/

Are you using Resharper? Then this might explain the problem. Just search for floating in the following website: http://blogs.jetbrains.com/dotnet/2012/09/resharper-71-early-access-is-open/

这篇关于Visual Studio 2012:更改“启用浮动标签页"的设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆