If you use large tab groups, for example with test classes, you may find the new OpenAll add-in useful. OpenAll adds the new Open all context menu command to open all available corresponding files at once:
Download link: OpenAll v1.0.1.
If you use large tab groups, for example with test classes, you may find the new OpenAll add-in useful. OpenAll adds the new Open all context menu command to open all available corresponding files at once:
The most frequent support question I receive is how to work with tabs in SQL Server Management Studio. To improve the first impression for Tabs Studio in SSMS, I’ve decided to disable default SSMS tab grouping:
I was asked to “disable change float (undock) tab on mouse double click”. I added this feature the last summer, copying the default Visual Studio 2010 behavior. But accidental double click on a tab is a problem (e.g. read Turn off double-click undock in VS2010, How To Disable Floating Windows? and How to disable floating tabs in Visual Studio 2010).
I’m planning to disable floating on double click in the next Tabs Studio release. For those who find this feature useful, I can reintroduce it as a separate add-in. Please, comment if you feel pro or against this feature.
In Visual Studio 2010 horizontal tab alignment is a little off, note the close tab button is near the tab name instead of being docked to the right:
I’ve added ItemsControl to Tabs Studio controls tree:
TabsHost : ContentControl | - TabsItemsControl : ItemsControl | - Tabs : Panel | - Tab : TabItem
With the default style:
<Style x:Key="DefaultTabsItemsControlStyle0" TargetType="TabsStudio:TabsItemsControl"> <Setter Property="HorizontalContentAlignment" Value="Stretch"/> </Style>
In the next Tabs Studio release, horizontal tab alignment is Stretch by default in all scenarios:
<Style TargetType="TabsStudio:TabsItemsControl" BasedOn="{StaticResource DefaultTabsItemsControlStyle}"> <Setter Property="HorizontalContentAlignment" Value="Left"/> </Style>
If you use custom colors for your tabs, for example, different colors for tabs from different projects, what do you do with the selected tab from a particular project? In the simplest setup you create a project coloring rule that excludes the selected tab and the selected tab looks the same no matter which project it belongs to:
<Style TargetType="TabsStudio:TabInternals" BasedOn="{StaticResource DefaultTabInternalsStyle}"> <Setter Property="Margin" Value="-1,-1,-1,0"/> <Style.Triggers> <Trigger Property="IsTabSelected" Value="True"> <Setter Property="Background"> <Setter.Value> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="Red" Offset="0"/> <GradientStop Color="Transparent" Offset="0.3"/> </LinearGradientBrush> </Setter.Value> </Setter> </Trigger> </Style.Triggers> </Style> <Style TargetType="TabsStudio:Tab" BasedOn="{StaticResource DefaultTabStyle}"> <Setter Property="Padding" Value="0,0,0,1"/> </Style> <Style TargetType="TabsStudio:TabNameGroup" BasedOn="{StaticResource DefaultTabNameGroupStyle}"> <Setter Property="Margin" Value="5,0,0,0"/> </Style> <!--Close tab button: Show on selected tab--> <Style TargetType="TabsStudio:CloseTabButton" BasedOn="{StaticResource DefaultCloseTabButtonStyle}"> <Setter Property="Margin" Value="2,0,1,0"/> <Style.Triggers> <Trigger Property="IsTabSelected" Value="False"> <Setter Property="Width" Value="4"/> <Setter Property="Visibility" Value="Hidden"/> </Trigger> </Style.Triggers> </Style> <!--Close tab button: Show on all tabs--> <!--<Style TargetType="TabsStudio:CloseTabButton" BasedOn="{StaticResource DefaultCloseTabButtonStyle}"> <Setter Property="Margin" Value="2,0,1,0"/> </Style>--> <!--Close tab button: Don't show--> <!--<Style TargetType="TabsStudio:CloseTabButton" BasedOn="{StaticResource DefaultCloseTabButtonStyle}"> <Setter Property="Width" Value="9"/> <Setter Property="Visibility" Value="Hidden"/> <Style.Triggers> <Trigger Property="IsTabSelected" Value="False"> <Setter Property="Visibility" Value="Hidden"/> </Trigger> </Style.Triggers> </Style>-->
I’ve created the Tabs Studio testimonials page. If you want to share your opinion about Tabs Studio with the developer community, review Tabs Studio at the Microsoft Visual Studio Gallery site or write me an e-mail!
Another feature from web browsers that you may be familiar with – a context menu command to close all tabs to the right of the selected tab. You can now have it in Tabs Studio with the new CloseRight add-in:
Download link: CloseRight v1.0.0.
Tabs Studio v2.2.7 released: fixed absence of the file save dialog when closing a modified xaml file, fixed TypeInitializationException during debugging when dragging the DataSet Visualizer over tabs.
Download link: Tabs Studio v2.2.7.
Many Internet browsers give you an option to open a new tab next to the current one. If you like this behavior you can now have it in Tabs Studio with the new OpenNext add-in. OpenNext doesn’t have any options and just changes default placement for a new tab from the right end to the right of the active tab.
Download link: OpenNext v1.0.0.