Tabs Studio Blog (organizing Visual Studio document tabs)

July 30, 2011

Import and export settings

Filed under: Uncategorized — Sergey Vlasov @ 8:21 pm

I’ve added the ability to export and import Tabs Studio settings for backup purposes and to copy Tabs Studio settings to another computer:

Export settings and Import settings buttons

Export settings and Import settings buttons

Tabs Studio keeps separate settings for VS 2010, VS 2008 and SSMS. If you use several products, export saves all settings and the additional dialog lets you select which settings you want to import:

Products selection for settings import

Products selection for settings import

Settings are stored in a .tssettings zip file and mirror the directory structure of settings in “c:\Users\[username]\AppData\Roaming\Sergey Vlasov”.

Download link: Tabs Studio v2.4.1.

July 25, 2011

Favorite Documents

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

If you often work on different parts of an application with different groups of document tabs opened, you may find my new Favorite Documents extension helpful:

Favorites menu in Visual Studio 2010

Favorites menu in Visual Studio 2010

Favorite Documents lets you create links to frequently used code files and then quickly open them as a group or individually from the Favorites menu in Visual Studio 2010.

Home page: Favorite Documents.
Direct download link: Favorite Documents v1.0.

July 17, 2011

Highlighting palette

Filed under: Uncategorized — Tags: , — Sergey Vlasov @ 8:38 pm

I’ve added the ability to highlight tabs with different colors from Tabs Studio context menu:

Highlighting colors in Tabs Studio context menu

Highlighting colors in Tabs Studio context menu


If you use just one color (still accessible with Ctrl+Click), but want to change it, the custom style is slightly different now (note the new HighlightIndex property):

<Style TargetType="TabsStudio:TabInternals" BasedOn="{StaticResource DefaultTabInternalsStyle}">
    <Style.Triggers>
      <DataTrigger Binding="{Binding Path=(TabsStudioMarker:Properties.HighlightIndex),
                 RelativeSource={RelativeSource AncestorType=TabsStudio:Tab}}" Value="1">
          <Setter Property="Background">
              <Setter.Value>
                   <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                       <GradientStop Color="Transparent" Offset="0.9"/>
                       <GradientStop Color="Green" Offset="0.9"/>
                   </LinearGradientBrush>
              </Setter.Value>
          </Setter>
      </DataTrigger>
  </Style.Triggers>
</Style>

In this Marker update I’ve also removed a small gradient transition in underline, fixed occasional loss of first tab highlighting after loading a solution in VS 2010, slightly changed highlight commands placement in the context menu.

Download link: Marker v1.0.4.

June 12, 2011

Tabs Studio v2.4.0 released

Filed under: Releases — Sergey Vlasov @ 3:39 pm

Tabs Studio v2.4.0 released – disabled animation for very small tab movement, disabled tab movement animation when the SingleRow add-in is used.

Download link: Tabs Studio v2.4.0.

June 11, 2011

Vertical scrollbar for the separate tabs window

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

When using the separate tabs window in stack mode, sometime you can open more tabs than fit in the docked window. One possible solution is to add a vertical scrollbar to scroll through the windows:

Tabs window with a vertical scrollbar

Tabs window with a vertical scrollbar


The following style adds ScrollViewer with vertical scroll bar visibility set to Auto, i.e. it is visible only when tabs don’t fit without scrolling:

<Style TargetType="TabsStudio:TabsHost" BasedOn="{StaticResource DefaultTabsHostStyle}">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="{x:Type TabsStudio:TabsHost}">
        <ScrollViewer HorizontalScrollBarVisibility="Disabled"
                                VerticalScrollBarVisibility="Auto">
          <Grid>
            <Rectangle Width="{TemplateBinding Width}"
                       Height="{TemplateBinding Height}"
                       Fill="{TemplateBinding Background}"/>
            <ContentPresenter/>
          </Grid>
        </ScrollViewer>
      </ControlTemplate>
    </Setter.Value>
  </Setter>
</Style>

June 10, 2011

Tabs Studio v2.3.9 released

Filed under: Releases — Sergey Vlasov @ 7:02 am

Tabs Studio v2.3.9 released:

  • Reduced tab movement is the Stable tabs layout.
  • Improved tab movement animation.
  • Enabled the Animate tab movement option by default.
  • Changed the default TabsAnimationDuration property value from 0.4 s to 0.3 s.
  • Fixed VS 2010 intellisense stops working when switching tabs with a suggestions list active.

Download link: Tabs Studio v2.3.9.

May 25, 2011

Tabs Studio v2.3.7 released

Filed under: Releases — Sergey Vlasov @ 8:53 pm

Tabs Studio v2.3.7 released: added the Animate tab movement option for the Stable tabs layout, enabled the AvalonStyleEditor, Marker, NewGroup, Saver, Sync and XMenu add-ins by default, improved tab measurement and arrangement correctness in the Shaper add-in.

Download link: Tabs Studio v2.3.7.

Tab movement animation

Filed under: Uncategorized — Sergey Vlasov @ 8:10 pm

I’ve added some animation when a tab is created, destroyed, changes width or position in the Stable tabs layout. To turn it on, check the new Animate tab movement option:

Animate tab movement option

Animate tab movement option

See Tabs animation demo how it looks like.

Tabs animation duration is controlled by the TabsAnimationDuration property on the Tabs control. When you check the Animate tab movement option, the duration is set to 0.4 s. You can override this value with the following custom style:

<Style TargetType="TabsStudio:Tabs" BasedOn="{StaticResource DefaultTabsStyle}">
	<Setter Property="TabsAnimationDuration" Value="0:0:1.4"/>
</Style>

Download link: Tabs Studio v2.3.7.

May 18, 2011

Tabs Studio v2.3.6 released

Filed under: Releases — Sergey Vlasov @ 9:07 pm

Tabs Studio v2.3.6 released: added the Stable tabs layout, updated the SingleRow add-in to support the Stable layout, updated the Marker add-in to not create a settings file for a solution when no tabs are highlighted, fixed an occasional 1 pixel wide gap between tabs in Visual Studio 2010.

Download link: Tabs Studio v2.3.6.

Stable tabs layout

Filed under: Uncategorized — Sergey Vlasov @ 9:04 pm

When opening, closing and editing Visual Studio documents, tabs change positions to be always visible in minimum number or rows. And the more tabs change positions and rows, the more our workspace becomes disorganized. I’ve created the new Stable tabs layout that reduces excessive tab movements:

Stable tabs layout option

Stable tabs layout option

While previous layouts were just wrappers around standard WPF panels, the Stable layout is implemented completely in Tabs Studio and provides ample potential opportunities for customization. The most noticeable visual distinction of the new layout is not justified last row. It doesn’t add stability, but I think is more visually pleasant:

All tab rows justified except the last one

All tab rows justified except the last one

The first actual stability feature is RowBuffer. RowBuffer is space reserved on each tab row that keeps tabs on their positions when some of them slightly increase width. For example, default 30 pixels of RowBuffer can absorb additional width of a close tab button when you switch to this row and 3 document modification asterisks.

You can adjust the RowBuffer value with the following style:

<Style TargetType="TabsStudio:Tabs" BasedOn="{StaticResource DefaultTabsStyle}">
	<Setter Property="RowBuffer" Value="20"/>
</Style>

Another stability feature keeps tabs on their positions when some of them become shorter. When it is possible to reduce number of rows due to shorter tabs, a new arrangement is delayed until the next major relocation.

Events that trigger major relocation are tab creation, tab removal, window size change. Events that don’t lead to tab rearrangement (within limits of RowBuffer) are tab selection, document modification, tab extension creation or removal.

For a new Tabs Studio installation Stable is the default layout now. I’m thinking about removing Standard and Wrap layouts in the future.

Download link: Tabs Studio v2.3.6.

« Newer PostsOlder Posts »

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.