Tabs Studio Blog (organizing Visual Studio document tabs)

October 11, 2009

Close tab button redesign

Filed under: Uncategorized — Sergey Vlasov @ 3:07 pm

For a long time the close tab button was implemented as an image. The image had the mouse over glow effect, but no pressed state. The close tab button image also allowed accidental activation on the mouse left button up event without corresponding mouse left button down. I’ve resolved both of these shortcomings finally implementing the close tab button as System.Windows.Controls.Button:

Mouse over the new close tab button

Mouse over the new close tab button

Here is the new default close tab button style:

<Style x:Key="DefaultCloseTabButtonStyle" TargetType="TabsStudio:CloseTabButton">
    <Setter Property="Margin" Value="2,0,-4,0"/>
    <Setter Property="VerticalAlignment" Value="Top"/>
    <Setter Property="HorizontalAlignment" Value="Right"/>
    <Setter Property="Focusable" Value="False"/>
    <Setter Property="Template">
            <ControlTemplate TargetType="TabsStudio:CloseTabButton">
                    <Style TargetType="Image">
                        <Setter Property="Stretch" Value="None"/>
<Image Name="Normal"    Source="pack://application:,,,/TabsStudio;component/close_tab_button_normal.png"/>
<Image Name="Pressed"   Source="pack://application:,,,/TabsStudio;component/close_tab_button_pressed.png"   
<Image Name="MouseOver" Source="pack://application:,,,/TabsStudio;component/close_tab_button_mouse_over.png"
                    <Trigger Property="IsMouseOver" Value="True">
                        <Setter TargetName="Normal" Property="Visibility" Value="Collapsed"/>
                        <Setter TargetName="MouseOver" Property="Visibility" Value="Visible"/>
                    <Trigger Property="IsPressed" Value="True">
                        <Setter TargetName="Normal" Property="Visibility" Value="Collapsed"/>
                        <Setter TargetName="Pressed" Property="Visibility" Value="Visible"/>
                        <Setter TargetName="MouseOver" Property="Visibility" Value="Collapsed"/>
        <Trigger Property="IsTabSelected" Value="False">
            <Setter Property="Visibility" Value="Collapsed"/>

October 8, 2009

Tabs Studio v1.6.4 is released

Filed under: Uncategorized — Sergey Vlasov @ 7:54 am

Tabs Studio v1.6.4 is released – improved floating tab group support and added experimental support for Microsoft SQL Server Management Studio.

Tabs Studio for Microsoft SQL Server Management Studio

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 7:29 am

“SQL Server Management Studio is an integrated environment for accessing, configuring, managing, administering, and developing all components of SQL Server.” It uses the same Visual Studio shell as Visual Studio and after making some small changes I was able to use Tabs Studio tabs in SSMS IDE. I verified that Tabs Studio integration with SSMS works on the computer with SQL Server 2008 Enterprise or Developer edition:

1. Install Tabs Studio v1.6.4

If Tabs Studio installer fails to find Visual Studio, create the Visual Studio 2008 folder in your Documents folder.

2. Register Tabs Studio for SSMS

  • Download the TabsStudioSSMS_100.reg file.
  • Modify path to TabsStudio.dll in this file in two places according to your settings. E.g. change C:\\Documents and Settings\\Administrator\\My Documents\\Visual Studio 2008\\Addins\\TabsStudio.dll to C:\\Users\\me\\Documents\\Visual Studio 2008\\Addins\\TabsStudio.dll.
  • Run modified TabsStudioSSMS_100.reg (admin rights are not required, all settings are for the current user).

3. Run SQL Server Management Studio

Tabs Studio tabs in Microsoft SQL Server Management Studio

Tabs Studio tabs in Microsoft SQL Server Management Studio

To disable Tabs Studio in SSMS change LoadBehavior to 0 in the reg file or directly in the registry.

I’m not a regular SSMS user. Please let me know if Tabs Studio behaves not as expected in SSMS IDE.

October 7, 2009

Improved floating tab group support

Filed under: Uncategorized — Sergey Vlasov @ 8:26 am

I’ve resolved main problems with the floating tab group found in v1.6.3 – the main Visual Studio window can be resized just fine now and different number of toolbars doesn’t corrupt window size. Closing the floating tab group window now correctly closes all tabs in the detached tab group.

Performing an action in the main Visual Studio window from the floating tab group window often requires two mouse clicks (one click to activate main Visual Studio window and one click to perform an action). Menu and toolbar commands don’t work on documents in floating tab group. Floating tab group is supported only if you have exactly two tab groups opened. Floating tab group is not currently supported for Visual Studio 2010 Beta 1.

« Newer Posts

Blog at