<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Stuff About Software &#187; Visual Studio</title>
	<atom:link href="http://patricksheedy.net/softwareblog/category/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://patricksheedy.net/softwareblog</link>
	<description>Tips that might be useful</description>
	<lastBuildDate>Tue, 05 May 2009 03:56:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multi-line Search and Replace in Visual Studio</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/</link>
		<comments>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 04:54:55 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[vs2005tips]]></category>
		<category><![CDATA[vs2008tips]]></category>

		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/</guid>
		<description><![CDATA[Often it is useful to do a global search and replace in a directory of files. For a search string on a single line this is trivial. Just hit Ctrl-Shift-H or &#8220;Edit -&#62; Find and Replace -&#62; Replace in Files&#8221;. Then enter the necessary information and do the replacement.
It becomes more tricky when you have [...]]]></description>
			<content:encoded><![CDATA[<p>Often it is useful to do a global search and replace in a directory of files. For a search string on a single line this is trivial. Just hit Ctrl-Shift-H or &#8220;Edit -&gt; Find and Replace -&gt; Replace in Files&#8221;. Then enter the necessary information and do the replacement.</p>
<p>It becomes more tricky when you have a multiline search or replacement string. With the standard options in the search and replace box you can&#8217;t do this. But select Regular Expressions in the Find Options section and a multi-line string becomes possible.</p>
<p>Now you can use Regular Expressions in the search. Enter your search and replace string as normal but enter &#8216;\n&#8217; where you want a newline to appear. Visual Studio can now find and replace multi-line strings!</p>
<p><a href="http://patricksheedy.net/softwareblog/wp-content/uploads/2008/01/multilinesearchandreplace.PNG" title="Multi-line search and replace"><img src="http://patricksheedy.net/softwareblog/wp-content/uploads/2008/01/multilinesearchandreplace.PNG" alt="Multi-line search and replace" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Using unescaped paths in the Visual Studio Watch window</title>
		<link>http://patricksheedy.net/softwareblog/2007/12/24/using-unescaped-paths-in-the-visual-studio-watch-window/</link>
		<comments>http://patricksheedy.net/softwareblog/2007/12/24/using-unescaped-paths-in-the-visual-studio-watch-window/#comments</comments>
		<pubDate>Tue, 25 Dec 2007 04:15:55 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[VS2005Tip]]></category>
		<category><![CDATA[VS2008Tip]]></category>

		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2007/12/24/using-unescaped-paths-in-the-visual-studio-watch-window/</guid>
		<description><![CDATA[I am often debugging an app in Visual Studio and add a variable containing a file path to the watch window. I&#8217;ll usually want to open the file to verify the contents so I will copy and paste the path into a command window. This is really annoying because the pasted path doesn&#8217;t work due [...]]]></description>
			<content:encoded><![CDATA[<p>I am often debugging an app in Visual Studio and add a variable containing a file path to the watch window. I&#8217;ll usually want to open the file to verify the contents so I will copy and paste the path into a command window. This is really annoying because the pasted path doesn&#8217;t work due to the double backslashes. I have to spend time converting all the double backslashes into single backslashes in order for the path to work.</p>
<p>Here is a simple solution to this problem: In the watch window append &#8220;,nq&#8221; to the end of the variable in the watch window. This will automatically remove the double backslashes and quotations. Once that is done you can copy/paste the string into a command window and use it without modification.</p>
<p><a href="http://patricksheedy.net/softwareblog/wp-content/uploads/2007/12/visualstudiowatchwindow2.JPG" title="Visual Studio Watch Window"><img src="http://patricksheedy.net/softwareblog/wp-content/uploads/2007/12/visualstudiowatchwindow2.JPG" alt="Visual Studio Watch Window" /></a><a href="http://patricksheedy.net/softwareblog/wp-content/uploads/2007/12/visualstudiowatchwindow.JPG" onclick="return false;" title="Direct link to file"> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://patricksheedy.net/softwareblog/2007/12/24/using-unescaped-paths-in-the-visual-studio-watch-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

