Tabs Studio Blog (organizing Visual Studio document tabs)

February 10, 2010

Tab names in a database project

Filed under: Uncategorized — Sergey Vlasov @ 9:28 am

Visual Studio has a special project type – Database Project. Tab names in such project include a path with back slashes:

A Visual Studio database project

A Visual Studio database project


To support back slashes I’ve changed the default Title grouping regex to (?<Name>(.*[/\\])?.+?)(?<Ext>\..+) and I’ve changed the default remove path transform to ^(.*[/\\\\])?(.*)$. With these changes selecting the Remove path from tab name option successfully removes paths:
Paths removed

Paths removed


It would be nice to remove trailing Project1 as well. (?<Name>(.*[/\\])?.+?)(?<Ext>\..+) \(Project1\) helps, but only for grouped titles like Script1. I’ve made additional changes in Tabs Studio and now single titles are affected by Title grouping regex too:
Project1 removed

Project1 removed


For more advanced title customization there is TitleTransform available in add-ins.

Blog at WordPress.com.