<?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 Macro to switch between CPP and H files</title>
	<atom:link href="http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/</link>
	<description>Software by Design</description>
	<lastBuildDate>Tue, 02 Mar 2010 13:21:48 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mots</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-7836</link>
		<dc:creator>Mots</dc:creator>
		<pubDate>Tue, 02 Mar 2010 13:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-7836</guid>
		<description>Thanks for the macro!

Thanks Piyush for the optimization!

Cheers</description>
		<content:encoded><![CDATA[<p>Thanks for the macro!</p>
<p>Thanks Piyush for the optimization!</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaero</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-7117</link>
		<dc:creator>Jaero</dc:creator>
		<pubDate>Wed, 13 Jan 2010 19:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-7117</guid>
		<description>So easy! Thanks a lot for this great help!</description>
		<content:encoded><![CDATA[<p>So easy! Thanks a lot for this great help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyush Soni</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-6376</link>
		<dc:creator>Piyush Soni</dc:creator>
		<pubDate>Tue, 03 Nov 2009 19:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-6376</guid>
		<description>I got it why it was slow for me. I always keep a lot of files open in Visual Studio, and since the macro goes through all of the open files and activates it if it&#039;s found, (opens otherwise) it becomes slow. I think there&#039;s no need for doing this. If you try to &#039;open&#039; the file when it&#039;s already open, Visual Studio anyway just activates that. Result, the switching becomes very fast.</description>
		<content:encoded><![CDATA[<p>I got it why it was slow for me. I always keep a lot of files open in Visual Studio, and since the macro goes through all of the open files and activates it if it&#8217;s found, (opens otherwise) it becomes slow. I think there&#8217;s no need for doing this. If you try to &#8216;open&#8217; the file when it&#8217;s already open, Visual Studio anyway just activates that. Result, the switching becomes very fast.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piyush Soni</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-6343</link>
		<dc:creator>Piyush Soni</dc:creator>
		<pubDate>Fri, 23 Oct 2009 23:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-6343</guid>
		<description>Thanks very much! I was looking for this for long. Many times though, you store header files in a folder called &#039;blah/blah/include/file.h&#039; and source file in &#039;blah/blah/source/file.cpp&#039;. So If the file to be opened doesn&#039;t exist, I try by replacing documentName.replace(&quot;source&quot;,&quot;include&quot;) and vice versa if that file exists to open. As someone already pointed out, we could directly do a File.Exists() to test for it. 

The only thing remaining now is that it is a &#039;bit&#039; slow (not much, but not negligible also) for me in VS 2005. Does anyone know how to make it instantaneous.</description>
		<content:encoded><![CDATA[<p>Thanks very much! I was looking for this for long. Many times though, you store header files in a folder called &#8216;blah/blah/include/file.h&#8217; and source file in &#8216;blah/blah/source/file.cpp&#8217;. So If the file to be opened doesn&#8217;t exist, I try by replacing documentName.replace(&#8221;source&#8221;,&#8221;include&#8221;) and vice versa if that file exists to open. As someone already pointed out, we could directly do a File.Exists() to test for it. </p>
<p>The only thing remaining now is that it is a &#8216;bit&#8217; slow (not much, but not negligible also) for me in VS 2005. Does anyone know how to make it instantaneous.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yariv</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-5851</link>
		<dc:creator>Yariv</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-5851</guid>
		<description>You are the greatest,
Thanks also to philselmer</description>
		<content:encoded><![CDATA[<p>You are the greatest,<br />
Thanks also to philselmer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-5277</link>
		<dc:creator>Eli</dc:creator>
		<pubDate>Thu, 16 Jul 2009 15:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-5277</guid>
		<description>Thanks, great macro. I started working at home recently and I don&#039;t have Visual Assist, which adds Alt+O as this option, I&#039;ve been missing it.

Alt+O is back =)
-Eli</description>
		<content:encoded><![CDATA[<p>Thanks, great macro. I started working at home recently and I don&#8217;t have Visual Assist, which adds Alt+O as this option, I&#8217;ve been missing it.</p>
<p>Alt+O is back =)<br />
-Eli</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [d3m0n]</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-3992</link>
		<dc:creator>[d3m0n]</dc:creator>
		<pubDate>Wed, 20 May 2009 11:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-3992</guid>
		<description>This is perfect. Thanks!

Slight mod to avoid error message when the matching file doesn&#039;t exist:

instead of:
   Application.Documents.Open(documentName, &quot;Text&quot;)

change to:
  If FileIO.FileSystem.FileExists(documentName) Then
    Application.Documents.Open(documentName, &quot;Text&quot;)
  End If</description>
		<content:encoded><![CDATA[<p>This is perfect. Thanks!</p>
<p>Slight mod to avoid error message when the matching file doesn&#8217;t exist:</p>
<p>instead of:<br />
   Application.Documents.Open(documentName, &#8220;Text&#8221;)</p>
<p>change to:<br />
  If FileIO.FileSystem.FileExists(documentName) Then<br />
    Application.Documents.Open(documentName, &#8220;Text&#8221;)<br />
  End If</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Smith</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-3463</link>
		<dc:creator>Aaron Smith</dc:creator>
		<pubDate>Tue, 31 Mar 2009 02:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-3463</guid>
		<description>Thank you so much!!!

Anyone know how to do this in Textpad?</description>
		<content:encoded><![CDATA[<p>Thank you so much!!!</p>
<p>Anyone know how to do this in Textpad?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philselmer</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-3431</link>
		<dc:creator>philselmer</dc:creator>
		<pubDate>Sat, 21 Mar 2009 18:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-3431</guid>
		<description>I have been looking for something to do this for months.  I had been using WndTabs for VS6, but there is no equal for VS2008.

If you want to make a button you can click to do this, follow these steps:
1) R-click on toolbar, select Customize
2) In the Commands tab, under Categories, select Macros then the macro you just made (mine was at the top)
3) Drag the name of the macro onto the toolbar you want to use (you can make a new one, or add it somewhere)
4) R-click on the button you just added (the Customize Window needs to be open) and change the name to something shorter (&quot;CPPH&quot;)</description>
		<content:encoded><![CDATA[<p>I have been looking for something to do this for months.  I had been using WndTabs for VS6, but there is no equal for VS2008.</p>
<p>If you want to make a button you can click to do this, follow these steps:<br />
1) R-click on toolbar, select Customize<br />
2) In the Commands tab, under Categories, select Macros then the macro you just made (mine was at the top)<br />
3) Drag the name of the macro onto the toolbar you want to use (you can make a new one, or add it somewhere)<br />
4) R-click on the button you just added (the Customize Window needs to be open) and change the name to something shorter (&#8221;CPPH&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dima&#8217;s blog &#187; Blog Archive &#187; Переключение между H и CPP файлами в Visual Studio 7/7.1/8/9</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-2021</link>
		<dc:creator>Dima&#8217;s blog &#187; Blog Archive &#187; Переключение между H и CPP файлами в Visual Studio 7/7.1/8/9</dc:creator>
		<pubDate>Wed, 02 Apr 2008 03:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-2021</guid>
		<description>[...] Visual Studio Macro to switch between CPP and H files [...]</description>
		<content:encoded><![CDATA[<p>[...] Visual Studio Macro to switch between CPP and H files [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
