<?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>Wed, 01 Sep 2010 07:49:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Eggplant</title>
		<link>http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/comment-page-1/#comment-8133</link>
		<dc:creator>Eggplant</dc:creator>
		<pubDate>Fri, 09 Apr 2010 06:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-8133</guid>
		<description>Way cool.

Folks might also be interested in PhatStudio (free open source Visual Studio plugin), which has a header switch feature.   It&#039;s written in C# and the code is also available on the website.

http://phatstudio.sourceforge.net/</description>
		<content:encoded><![CDATA[<p>Way cool.</p>
<p>Folks might also be interested in PhatStudio (free open source Visual Studio plugin), which has a header switch feature.   It&#8217;s written in C# and the code is also available on the website.</p>
<p><a href="http://phatstudio.sourceforge.net/" rel="nofollow">http://phatstudio.sourceforge.net/</a></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-8077</link>
		<dc:creator>Piyush Soni</dc:creator>
		<pubDate>Sat, 03 Apr 2010 00:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/02/26/visual-studio-macro-to-switch-between-cpp-and-h-files/#comment-8077</guid>
		<description>Glad that helped someone. :)</description>
		<content:encoded><![CDATA[<p>Glad that helped someone. <img src='http://www.alteridem.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<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(&#8220;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>
</channel>
</rss>
