Tabs Studio Blog (organizing Visual Studio document tabs)

January 2, 2010

Tab text options in SSMS

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 11:50 am

Microsoft SQL Server Management Studio 2008 has several built in tab text options:

Tab text options in SSMS 2008

Tab text options in SSMS 2008


You can shorten tabs by omitting parts like server name or login name – SQLQuery1.sql was created with default settings, SQLQuery3.sql was created with database, login and server names off. These options don’t exist in SSMS 2005.

December 28, 2009

Disabling tab grouping

Filed under: Uncategorized — Sergey Vlasov @ 11:17 am

Currently, if you try to disable tab grouping by emptying Title grouping regex or Path grouping regex it doesn’t work – empty regex is interpreted as “use default settings”. It is safe, but counterintuitive and for the next Tabs Studio version I’ve changed empty regex to mean “disable tab grouping”. If you want to disable tab grouping in the current version – write something non-capturing like “don’t group” as a regex.

If you enter invalid regex (e.g. “?” that shows the error parsing “?” – Quantifier {x,y} following nothing) and save it, then, again, default settings are used for tab grouping. I think safety of default settings is still valuable here.

December 24, 2009

SSMS tab grouping

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 10:00 pm

SQL Server Management Studio uses quite different scheme for tab names from Visual Studio. Here is the screenshot of default tab names (I temporarily configured Tabs Studio to not group tabs):

No tab grouping

No tab grouping

I’ve significantly improved SSMS support in the next Tabs Studio version:

1. Separate settings for SSMS.

Now SSMS 2005/2008, VS 2005/2008 and VS 2010 have separate settings. You can customize each of the three product lines independently.

2. Remove path from tab name works for SSMS.

Turning on the Remove path from tab name option strips parentheses and removes path from tab names in SSMS now:

Remove path from tab name in action

Remove path from tab name in action

3. Special title grouping rules for SSMS out of the box.

Tabs Studio now uses new default title grouping rules when running in SSMS that both group tabs and strip parentheses:

Tab grouping (default)

Tab grouping (default)

4. Support for SSMS table paths.

Documents representing tables in SSMS have document paths like “Server[@Name=’COMP1′]/Database[@Name=’ReportServer’]/Table[@Name=’ActiveSubscriptions’ and @Schema=’dbo’]”. Tabs Studio now applies path grouping rules to these paths as well.

Update: Tabs Studio v1.7.9 with these changes is ready for download.

December 2, 2009

Tabs Studio review by Scott Mitchell in MSDN Magazine

Filed under: Uncategorized — Sergey Vlasov @ 2:40 pm

“Unlike Visual Studio, Tabs Studio displays the tab for every open document in both the SDI and MDI configurations. If there is not enough horizontal space to display every tab, Tabs Studio stacks them vertically.” Read full review.

November 24, 2009

Tabs Studio 2010 style by Jameel Al-Aziz

Filed under: Uncategorized — Tags: , — Sergey Vlasov @ 5:45 pm

Jameel did a great work designing Tabs Studio style perfectly matching Visual Studio 2010 theme:

Visual Studio 2010 style by Jameel Al-Aziz

Visual Studio 2010 style by Jameel Al-Aziz


His style requires Visual Studio 2010 Beta 2 and Tabs Studio v1.7.6. You can get this style here.

November 10, 2009

Animation effects

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 9:05 pm

You can use WPF animation effects to customize Tabs Studio presentation. Tabs Studio v1.7.3 demonstrates fade effect for the yellow extension background when mouse is over it and transition effect between states for the close tab button. You can turn on these two effects in the Quick Style window:

Quick Style animate option

Quick Style animate option


For example, fade-in effect for an extension starts on mouse enter event, during 0.2 seconds it changes border color from transparent to gray and it changes yellow background from transparent to opaque:

  
<EventTrigger RoutedEvent="Control.MouseEnter">
  <EventTrigger.Actions>
    <BeginStoryboard>
      <Storyboard>
        <ColorAnimation  Duration="0:0:0.2" Storyboard.TargetName="Border"    Storyboard.TargetProperty="BorderBrush.Color"  To="Gray"/>
        <DoubleAnimation Duration="0:0:0.2" Storyboard.TargetName="LabelText" Storyboard.TargetProperty="Background.Opacity" To="1"/>
      </Storyboard>
    </BeginStoryboard>
  </EventTrigger.Actions>
</EventTrigger>

Full sample effects definitions are available when you turn on animation and generate style in the Quick Style window. I think the most common customization for the sample effects provided will be adjustment of animation duration.

October 27, 2009

Updated tab extension style

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 5:29 pm

I’ve updated default TabExtension style to ease extension selection. When mouse is over extension it is highlighted with yellow background now, there is no more shadow for extension and there is more padding around tab extension and tab name:

Updated tab extension style

Updated tab extension style

October 23, 2009

Improved text rendering in .NET 4.0 Beta 2

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 9:35 am

WPF 4.0 introduces new text rendering options. You can customize Tabs Studio text with these new options in Visual Studio 2010 Beta 2 using a style like this one:

<Style TargetType="TabsStudio:Tabs" BasedOn="{StaticResource DefaultTabsStyle}">
    <Setter Property="TextOptions.TextFormattingMode" Value="Display"/>
    <Setter Property="TextOptions.TextRenderingMode" Value="Aliased"/>
</Style>

Text with display aliased options

Text with display aliased options


Text with display aliased options 3x zoom

Text with display aliased options 3x zoom


It would be great to make sharper text works in Visual Studio 2008 as well, but right now I don’t see a good solution. Simply installing .NET 4.0 Beta 2 runtime on a Visual Studio 2008 machine doesn’t make these new options available to Tabs Studio automatically.

October 22, 2009

Visual Studio 2010 Beta 2 support

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 9:56 am

Visual Studio 2010 Beta 2 was released this week. The only change I see (comparing to VS window tabs management in 2010 Beta 1) is the new Insert documents to the right of existing tabs option that allows opening tabs on the right:

Insert documents to the right option

Insert documents to the right option


I’ve updated Tabs Studio to accommodate some Visual Studio 2010 Beta 2 internal changes and I will make it available in the next release:
Tabs Studio in Visual Studio 2010 Beta 2

Tabs Studio in Visual Studio 2010 Beta 2


As VS 2010 release date is set to March 22, 2010, I’ve extended evaluation period for Tabs Studio 2010 to April 22, 2010.

October 14, 2009

Automatic SSMS registration

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 9:26 am

I’ve added Tabs Studio registration with SQL Server Management Studio 2008 to the Tabs Studio installer. There will be no need to manually setup and run the .reg file any more.

« Newer PostsOlder Posts »

Blog at WordPress.com.