Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
224 views
in Technique[技术] by (71.8m points)

resharper - Visual Studio 2012: change setting for "Enable floating tab wells"

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

See this screenshot: enter image description here

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.

There is a setting for this: enter image description here

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.

I have traced the setting to a registry setting HKCUSoftwareMicrosoftVisualStudio11.0DialogPageMicrosoft.VisualStudio.Platform.WindowManagement.Options.TabsAndWindowsOptionsPageEnableIndependentTabWell 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.

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: 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 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

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>
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...