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.

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

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