<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Visual Studio Tab Un-stupidifier Macro</title>
	<atom:link href="http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/</link>
	<description>Javascript flâneur, internet flibbertygibbert</description>
	<lastBuildDate>Thu, 09 Sep 2010 09:09:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Greg Bray</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1737</link>
		<dc:creator>Greg Bray</dc:creator>
		<pubDate>Wed, 21 Jul 2010 16:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1737</guid>
		<description>Works fine for me in Visual Studio 2010 binding the macro to the Global Ctrl+Tab and Ctrl+Shift+Tab keys. I did end up hiding the bubble by setting Visual Studio 2010 to &quot;Hide icon and notifications&quot; from the system tray in Windows 7, but otherwise it does exactly what I wanted.

Also I posted a bug on Connect regarding non-MRU lookup, and they said that they will try and add it to the next release of Visual Studio. More info here: http://goo.gl/K9rz</description>
		<content:encoded><![CDATA[<p>Works fine for me in Visual Studio 2010 binding the macro to the Global Ctrl+Tab and Ctrl+Shift+Tab keys. I did end up hiding the bubble by setting Visual Studio 2010 to &#8220;Hide icon and notifications&#8221; from the system tray in Windows 7, but otherwise it does exactly what I wanted.</p>
<p>Also I posted a bug on Connect regarding non-MRU lookup, and they said that they will try and add it to the next release of Visual Studio. More info here: <a href="http://goo.gl/K9rz" rel="nofollow">http://goo.gl/K9rz</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Foster</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1713</link>
		<dc:creator>David Foster</dc:creator>
		<pubDate>Wed, 19 May 2010 15:19:25 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1713</guid>
		<description>I would give you sixty trillion mightybucks if you can get this working reliably in Visual Studio 2010. Arrrggghhh! Visual Studio 2010 is such an awesome IDE but it&#039;s Ctrl+Tab behaviour makes me weep like a little bitch.</description>
		<content:encoded><![CDATA[<p>I would give you sixty trillion mightybucks if you can get this working reliably in Visual Studio 2010. Arrrggghhh! Visual Studio 2010 is such an awesome IDE but it&#8217;s Ctrl+Tab behaviour makes me weep like a little bitch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1689</link>
		<dc:creator>Danilo</dc:creator>
		<pubDate>Wed, 17 Mar 2010 12:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1689</guid>
		<description>Doesn&#039;t seem to work on Visual Studio 2008 :(</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t seem to work on Visual Studio 2008 :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1668</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Tue, 09 Feb 2010 20:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1668</guid>
		<description>Thaaaaaaank you!</description>
		<content:encoded><![CDATA[<p>Thaaaaaaank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Diab</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1551</link>
		<dc:creator>Miguel Diab</dc:creator>
		<pubDate>Fri, 27 Nov 2009 18:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1551</guid>
		<description>From the corners of South America my grattitude to you! This is amazing :)
I&#039;ve been looking for this for quite a while...
Too bad to had to resort to f@#$! macros! Why didn&#039;t Ms left a &quot;OrderedNextTab&quot; &quot;OrderedPreviousTab&quot;...

Thanks again!</description>
		<content:encoded><![CDATA[<p>From the corners of South America my grattitude to you! This is amazing :)<br />
I&#8217;ve been looking for this for quite a while&#8230;<br />
Too bad to had to resort to f@#$! macros! Why didn&#8217;t Ms left a &#8220;OrderedNextTab&#8221; &#8220;OrderedPreviousTab&#8221;&#8230;</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Vlasov</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1549</link>
		<dc:creator>Sergey Vlasov</dc:creator>
		<pubDate>Fri, 27 Nov 2009 02:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1549</guid>
		<description>@Tabber: Commercial Tabs Studio add-in for Visual Studio gives programmatic access to the tab bar and offers lots of tab management and customization features:
http://www.tabsstudio.com</description>
		<content:encoded><![CDATA[<p>@Tabber: Commercial Tabs Studio add-in for Visual Studio gives programmatic access to the tab bar and offers lots of tab management and customization features:<br />
<a href="http://www.tabsstudio.com" rel="nofollow">http://www.tabsstudio.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Paine</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1470</link>
		<dc:creator>Thomas Paine</dc:creator>
		<pubDate>Fri, 23 Oct 2009 21:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1470</guid>
		<description>For what it&#039;s worth I like both MRU and &quot;Order of Tab&quot; flipping. I&#039;ve left ctrl+tab alone because I frequently switch back and forth between two files, and used ctrl+PgUp/PgDn (learned from firefox) for your lovely macro. Now I am truly a happy man.

Btw does anyone know why the Window.NextTab and Window.PreviousTab don&#039;t seem to do anything? Are they not talking about document tabs or something?</description>
		<content:encoded><![CDATA[<p>For what it&#8217;s worth I like both MRU and &#8220;Order of Tab&#8221; flipping. I&#8217;ve left ctrl+tab alone because I frequently switch back and forth between two files, and used ctrl+PgUp/PgDn (learned from firefox) for your lovely macro. Now I am truly a happy man.</p>
<p>Btw does anyone know why the Window.NextTab and Window.PreviousTab don&#8217;t seem to do anything? Are they not talking about document tabs or something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1405</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Mon, 21 Sep 2009 15:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1405</guid>
		<description>Neil,

Window.NextDocumentWindow also cycles based on MRU.</description>
		<content:encoded><![CDATA[<p>Neil,</p>
<p>Window.NextDocumentWindow also cycles based on MRU.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Moss</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-1357</link>
		<dc:creator>Neil Moss</dc:creator>
		<pubDate>Mon, 17 Aug 2009 15:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-1357</guid>
		<description>Ummm - there are ide-supplied commands to achieve this.

Set the mappings below:
ctrl-tab: Window.NextDocumentWindow
ctrl-shift-tab: Window.PreviousDocumentWindow

It&#039;s the first thing I do when working with VS on a new PC. No macros, and no tray icon bubbles.

Neil.</description>
		<content:encoded><![CDATA[<p>Ummm &#8211; there are ide-supplied commands to achieve this.</p>
<p>Set the mappings below:<br />
ctrl-tab: Window.NextDocumentWindow<br />
ctrl-shift-tab: Window.PreviousDocumentWindow</p>
<p>It&#8217;s the first thing I do when working with VS on a new PC. No macros, and no tray icon bubbles.</p>
<p>Neil.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ger O'Donnell</title>
		<link>http://www.mrspeaker.net/2006/10/12/tab-un-stupidifier/comment-page-1/#comment-926</link>
		<dc:creator>Ger O'Donnell</dc:creator>
		<pubDate>Fri, 09 Jan 2009 23:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://mrspeaker.webeisteddfod.com/2006/10/12/visual-studio-tab-un-stupidifier-macro/#comment-926</guid>
		<description>This reorders the tab bar alphabetically. Won&#039;t help with Ctrl+Tab but might make finding the right file using the mouse a bit easier...


    Public Class myReverserClass
        Implements IComparer

        &#039; Calls CaseInsensitiveComparer.Compare with the parameters reversed.
        Public Function Compare(ByVal x As Object, ByVal y As Object) As Integer _
           Implements IComparer.Compare
            Return New CaseInsensitiveComparer().Compare(y, x)
        End Function &#039;IComparer.Compare

    End Class &#039;myReverserClass


    Sub TemporaryMacro()
        Dim keyList = New ArrayList
        Dim doc As Document
        Dim value As String
        For Each doc In DTE.Documents
            value = doc.Name &amp; vbTab &amp; doc.FullName

            If Not keyList.Contains(value) Then
                keyList.Add(value)
            End If
        Next
        &#039; Sort in reverse order
        Dim myComparer = New myReverserClass()

        keyList.Sort(myComparer)

        &#039; Move each window to the new tab group (moving the last one will close the original tab group).
        Dim fName As String, fPath As String
        Dim TestArray() As String
        For Each value In keyList
            TestArray = Split(value, vbTab)
            If TestArray.Length &gt; 1 And TestArray(1)  &quot;&quot; Then
                DTE.Documents.Item(TestArray(1)).ActiveWindow.Activate()
                OpenInOtherWindow()
            End If
        Next
    End Sub
    Private Sub OpenInOtherWindow()
        Try
            DTE.ExecuteCommand(&quot;Window.MovetoNextTabGroup&quot;)
        Catch
            Try
                DTE.ExecuteCommand(&quot;Window.MovetoPreviousTabGroup&quot;)
            Catch
                DTE.ExecuteCommand(&quot;Window.TileVertically&quot;)
            End Try
        End Try
    End Sub
</description>
		<content:encoded><![CDATA[<p>This reorders the tab bar alphabetically. Won&#8217;t help with Ctrl+Tab but might make finding the right file using the mouse a bit easier&#8230;</p>
<p>    Public Class myReverserClass<br />
        Implements IComparer</p>
<p>        &#8216; Calls CaseInsensitiveComparer.Compare with the parameters reversed.<br />
        Public Function Compare(ByVal x As Object, ByVal y As Object) As Integer _<br />
           Implements IComparer.Compare<br />
            Return New CaseInsensitiveComparer().Compare(y, x)<br />
        End Function &#8216;IComparer.Compare</p>
<p>    End Class &#8216;myReverserClass</p>
<p>    Sub TemporaryMacro()<br />
        Dim keyList = New ArrayList<br />
        Dim doc As Document<br />
        Dim value As String<br />
        For Each doc In DTE.Documents<br />
            value = doc.Name &amp; vbTab &amp; doc.FullName</p>
<p>            If Not keyList.Contains(value) Then<br />
                keyList.Add(value)<br />
            End If<br />
        Next<br />
        &#8216; Sort in reverse order<br />
        Dim myComparer = New myReverserClass()</p>
<p>        keyList.Sort(myComparer)</p>
<p>        &#8216; Move each window to the new tab group (moving the last one will close the original tab group).<br />
        Dim fName As String, fPath As String<br />
        Dim TestArray() As String<br />
        For Each value In keyList<br />
            TestArray = Split(value, vbTab)<br />
            If TestArray.Length &gt; 1 And TestArray(1)  &#8220;&#8221; Then<br />
                DTE.Documents.Item(TestArray(1)).ActiveWindow.Activate()<br />
                OpenInOtherWindow()<br />
            End If<br />
        Next<br />
    End Sub<br />
    Private Sub OpenInOtherWindow()<br />
        Try<br />
            DTE.ExecuteCommand(&#8220;Window.MovetoNextTabGroup&#8221;)<br />
        Catch<br />
            Try<br />
                DTE.ExecuteCommand(&#8220;Window.MovetoPreviousTabGroup&#8221;)<br />
            Catch<br />
                DTE.ExecuteCommand(&#8220;Window.TileVertically&#8221;)<br />
            End Try<br />
        End Try<br />
    End Sub</p>
]]></content:encoded>
	</item>
</channel>
</rss>
