Tabs Studio Blog (organizing Visual Studio document tabs)

March 4, 2011

Highlight tabs with Marker

Filed under: Uncategorized — Tags: , — Sergey Vlasov @ 2:42 pm

David Peris suggested an interesting idea for Tabs Studio: “For people like me working in huge solutions, with a bunch of projects and files, sometimes we need to highlight a few tabs, temporarily, to quickly come back to them. Color rules would make the trick if the tabs share some criteria, but they can be slow to setup just for temporary highlighting. It would be great to be able to quick color some tabs, like for example Ctrl+click a tab would highlight it, and Ctrl+click again would de-highlight it. Maybe an option in the right click menu as “Remove highlights” or something like that would be the perfect complement to this option.”

I’ve created the new Marker add-in for this functionality. Ctrl+Click a tab highlights it and Ctrl+Click again removes highlighting. No additional context menu options yet, but it can be added later:

Several tabs highlighted with the default style

Several tabs highlighted with the default style

The default highlighting style provided by Marker decorates TabInternals with the red gradient background. You can choose to decorate another tab element or just change the highlighting color in a custom Tabs Studio style:

<Style TargetType="TabsStudio:TabInternals" BasedOn="{StaticResource DefaultTabInternalsStyle}">
    <Style.Triggers>
      <DataTrigger Binding="{Binding Path=(TabsStudioMarker:Properties.IsHighlighted), 
                 RelativeSource={RelativeSource AncestorType=TabsStudio:Tab}}" Value="True">
          <Setter Property="Background">
              <Setter.Value>
                   <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                       <GradientStop Color="Transparent" Offset="0.8"/>
                       <GradientStop Color="Green" Offset="1"/>
                   </LinearGradientBrush>
              </Setter.Value>
          </Setter>
      </DataTrigger>
  </Style.Triggers>
</Style>
Tabs highlighted with the custom green color

Tabs highlighted with the custom green color

Download link: Marker v1.0.0.

3 Comments

  1. Very neat! I like this.

    Comment by Stuart Hemming — March 4, 2011 @ 3:05 pm

  2. Excelent application. You save me from throw away my Visual Studio. I added the navigator add-in to set the ctrl-tab and shif-ctrl-tab hotkeys normal behavior. Your software giveme back the posibility to move fast and effective between tab. I was driving me insane the old jump till infinite to randomly find the tab that i need. (MRU is just simply bad to move between many tabs).
    Thanks to imagine and create this program.

    Comment by voodoomsr — March 6, 2011 @ 3:21 pm

  3. Other idea: if you use the Productivity Power Tools extension (you should), you can pin tabs with one click. Then they stay on the very left, which makes them easily accessible – even if you don’t wrap your tabs like you do.

    Comment by anonymous — March 6, 2011 @ 6:04 pm


RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Blog at WordPress.com.