Tabs Studio Blog (organizing Visual Studio document tabs)

June 30, 2013

Tabs Studio v3.1.0 released

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

Tabs Studio v3.1.0 released:

  • Added support for Visual Studio 2013 Preview.
  • Added sorting rules to the Sorter add-in.
  • Fixed missing executing and debugging images in SSMS 2012.
  • Fixed VS 2012 service registration when AlwaysInstallElevated is set to 1.
  • Fixed the rare measure infinity exception.

Download link: Tabs Studio v3.1.0.

June 27, 2013

Visual Studio 2013 Preview

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 3:13 pm

Visual Studio 2013 Preview was released yesterday (see also a video):

Visual Studio 2013 Preview splash

Visual Studio 2013 Preview splash

The only new documents navigation related feature I can see is Peek Definition:

Peek Definition in Visual Studio 2013 Preview

Peek Definition in Visual Studio 2013 Preview

It is similar to the older Code Definition tool window, but opens inside the code editor. Only one Peek Definition sub-window can be opened at once and it is read-only.

Sorting rules

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

The new version of the Sorter add-in lets you create multiple sorting rules:

Sorter Options

Sorter Options

For example, from the picture above the sorter rules are: tabs highlighted with the Marker add-in go to beginning, tabs with Test in the name go to end, and then tabs are sorted by project and by name.

The Rule type TabNameWithPath can be used in Web projects where tab names contain the parent folder name. The rule type Path uses the Paths property (document paths separated by ‘$’).

Match regex by default captures all text of the property selected by the rule type. You can match e.g. tabs from the project Core with (?<M>^Core$) and move these tabs to the beginning or to the end. Or you can group tabs by category, listing prefixes and suffixes in tab names around category words:
^(I|Test)?(?<M>.+?)(Manager|Repository)?\..+$

Inverse order when unchecked sorts tabs in alphabetical order or places matched tabs to beginning. When checked – sorts from Z to A or places matched tabs to end.

Download link: Sorter v1.0.10

June 26, 2013

Prefix tab grouping with ITransform

Filed under: Uncategorized — Tags: — Sergey Vlasov @ 2:37 pm

It is common to have concepts like User and Admin with multiple classes around them like UserManager, UserRepository and AdminManager, AdminRepository. With prefixes I, Test and suffixes Manager, Repository we end up with the following tabs:

Multiple tabs in Visual Studio 2012

Multiple tabs in Visual Studio 2012

Normally tabs are not nicely sorted by concept like on the picture above and you may want to automatically group related tabs in a larger tab. It is easy to group by suffix – just add common suffix names to the extension part in the Title grouping regex:

Suffix grouping options

Suffix grouping options


Tabs with suffix grouping

Tabs with suffix grouping

Grouping by prefix is also easy – add common prefix names to the front of the Title grouping regex:
(?<Prefix>I|Test)?(?<Name>.+?)(?<Ext>(Manager|Repository)?\..+)
Unfortunately, prefix names are now not displayed (because only Name and Ext groups are displayed by default):

Prefix grouping with truncated names

Prefix grouping with truncated names

This is when the ITransform add-in helps. It renames truncated names back to normal. In the latest v1.0.3 you can even customize how prefix information should be displayed:

ITransform Options

ITransform Options


Prefix grouping with ITransform

Prefix grouping with ITransform

Note that the Interface regex should match only tabs with our prefixes – the Prefix group is not optional comparing to the Title grouping regex. The Replacement regex can be for example only ${Prefix} or include your custom text.

Download link: ITransform v1.0.3

Blog at WordPress.com.