<?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"
	>
<channel>
	<title>Comments on: Introducing ReSharper 5.0: Structural Search and Replace</title>
	<atom:link href="http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/</link>
	<description>ReSharper for productivity, dotTrace for performance, dotCover for test coverage</description>
	<pubDate>Wed, 16 May 2012 20:49:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Robbe</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-330988</link>
		<dc:creator>Robbe</dc:creator>
		<pubDate>Thu, 16 Jun 2011 13:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-330988</guid>
		<description>BTW: Three nice Quickfixes from my side
1. replace obj == otherthing wich objet.Equals
2/3. Transform between var x = (type)y  var x = y as type; if(x!=null)
(maybe not fully prooven to succeed)
http://pastebin.com/gXSpMpfb</description>
		<content:encoded><![CDATA[<p>BTW: Three nice Quickfixes from my side<br />
1. replace obj == otherthing wich objet.Equals<br />
2/3. Transform between var x = (type)y  var x = y as type; if(x!=null)<br />
(maybe not fully prooven to succeed)<br />
<a href="http://pastebin.com/gXSpMpfb" rel="nofollow">http://pastebin.com/gXSpMpfb</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robbe</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-330987</link>
		<dc:creator>Robbe</dc:creator>
		<pubDate>Thu, 16 Jun 2011 13:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-330987</guid>
		<description>@Joe White:
You are so right. That was a mind-bug. The way I have it, now solves the problem, however not completely.
Here I try to do something like INotifyChanged, however special to our domain.
[FunctionProperty]
public $type$ $propid$
{
get { $getstmt$ }
set { $setstmt$ }
}
------ replace by ---------
[FunctionProperty(FunctionPropertyCategories.MultiChannel)]
public $type$ $prop$
{
get{   return ($type$)this.GetCurrentChannelParameterValue("TODO");}
set{    if (this.SetCurrentChannelParameterValue("TODO", value))
    {        this.OnPropertyChanged("TODO");    }}
}
--------
That works. 
The downside of this is obviously the "TODO". I did not manage to get the property identifier replaced at that spot. So "$propid$" or similar kind do not work.
@all: Does this feature consist of lets say string conversion of identifiers and types?
Can this be solved?
But anyways: Great feature - to be more documented and paved.</description>
		<content:encoded><![CDATA[<p>@Joe White:<br />
You are so right. That was a mind-bug. The way I have it, now solves the problem, however not completely.<br />
Here I try to do something like INotifyChanged, however special to our domain.<br />
[FunctionProperty]<br />
public $type$ $propid$<br />
{<br />
get { $getstmt$ }<br />
set { $setstmt$ }<br />
}<br />
&#8212;&#8212; replace by &#8212;&#8212;&#8212;<br />
[FunctionProperty(FunctionPropertyCategories.MultiChannel)]<br />
public $type$ $prop$<br />
{<br />
get{   return ($type$)this.GetCurrentChannelParameterValue(&#8221;TODO&#8221;);}<br />
set{    if (this.SetCurrentChannelParameterValue(&#8221;TODO&#8221;, value))<br />
    {        this.OnPropertyChanged(&#8221;TODO&#8221;);    }}<br />
}<br />
&#8212;&#8212;&#8211;<br />
That works.<br />
The downside of this is obviously the &#8220;TODO&#8221;. I did not manage to get the property identifier replaced at that spot. So &#8220;$propid$&#8221; or similar kind do not work.<br />
@all: Does this feature consist of lets say string conversion of identifiers and types?<br />
Can this be solved?<br />
But anyways: Great feature - to be more documented and paved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe White</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-330983</link>
		<dc:creator>Joe White</dc:creator>
		<pubDate>Wed, 15 Jun 2011 12:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-330983</guid>
		<description>@Robbe, a couple of guesses:

1. I'm not an expert with SSR, but I'm guessing this would only match if the getter and setter both contained the *same* statements, which will never happen. Try making separate placeholders for the getter's and setter's dummy statements.

2. Remove the semicolon from inside your setter. A statement placeholder will already match the semicolon, so adding another one might cause it to only match if you have an extra semicolon in your setter. ("Match similar constructs" might make this a non-issue, I'm not sure. But better to say what you mean, which means leaving off the semicolon.)</description>
		<content:encoded><![CDATA[<p>@Robbe, a couple of guesses:</p>
<p>1. I&#8217;m not an expert with SSR, but I&#8217;m guessing this would only match if the getter and setter both contained the *same* statements, which will never happen. Try making separate placeholders for the getter&#8217;s and setter&#8217;s dummy statements.</p>
<p>2. Remove the semicolon from inside your setter. A statement placeholder will already match the semicolon, so adding another one might cause it to only match if you have an extra semicolon in your setter. (&#8221;Match similar constructs&#8221; might make this a non-issue, I&#8217;m not sure. But better to say what you mean, which means leaving off the semicolon.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robbe</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-330981</link>
		<dc:creator>Robbe</dc:creator>
		<pubDate>Wed, 15 Jun 2011 09:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-330981</guid>
		<description>Jou, great. So far.
I did already some useful patterns for quick-replace.
In the first impression I really needed some hints about syntax, but there's just an editor. OK - I came across.
Now however I try to match (and reformat) a property, but I can't get it to work. I'd love to see some hints. This is what I tried:

public $rettype$ $PropName$
{
    get 
    { 
         $dummyStatements$ 
    }

    set 
    { 
         $dummyStatements$;
    }
}</description>
		<content:encoded><![CDATA[<p>Jou, great. So far.<br />
I did already some useful patterns for quick-replace.<br />
In the first impression I really needed some hints about syntax, but there&#8217;s just an editor. OK - I came across.<br />
Now however I try to match (and reformat) a property, but I can&#8217;t get it to work. I&#8217;d love to see some hints. This is what I tried:</p>
<p>public $rettype$ $PropName$<br />
{<br />
    get<br />
    {<br />
         $dummyStatements$<br />
    }</p>
<p>    set<br />
    {<br />
         $dummyStatements$;<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Anashkin</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-312550</link>
		<dc:creator>Oleg Anashkin</dc:creator>
		<pubDate>Thu, 22 Apr 2010 17:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-312550</guid>
		<description>I have created RSRP-178923 to track "Provide more patterns in Patterns Catalog" request.</description>
		<content:encoded><![CDATA[<p>I have created RSRP-178923 to track &#8220;Provide more patterns in Patterns Catalog&#8221; request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deerchao</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-312422</link>
		<dc:creator>deerchao</dc:creator>
		<pubDate>Sat, 17 Apr 2010 04:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-312422</guid>
		<description>It supports C# only, not VB?</description>
		<content:encoded><![CDATA[<p>It supports C# only, not VB?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jura Gorohovsky</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-312304</link>
		<dc:creator>Jura Gorohovsky</dc:creator>
		<pubDate>Wed, 14 Apr 2010 13:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-312304</guid>
		<description>@Greg
Seems that at the end of the day, the patterns did not make it into the release build :(
We'll publish them at the website and post a link in the blog. Stay tuned</description>
		<content:encoded><![CDATA[<p>@Greg<br />
Seems that at the end of the day, the patterns did not make it into the release build <img src='http://blogs.jetbrains.com/dotnet/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
We&#8217;ll publish them at the website and post a link in the blog. Stay tuned</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-312302</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Wed, 14 Apr 2010 13:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-312302</guid>
		<description>I upgraded from the RC to the final release and I only have one pattern in my catalog "($t$)". Should I have more?</description>
		<content:encoded><![CDATA[<p>I upgraded from the RC to the final release and I only have one pattern in my catalog &#8220;($t$)&#8221;. Should I have more?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Obfuscator</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-312300</link>
		<dc:creator>Obfuscator</dc:creator>
		<pubDate>Wed, 14 Apr 2010 11:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-312300</guid>
		<description>Hi Joe,
I feel obliged to clear up the confusion. In this case 'sim-shipping' is a Microsoft term and policy, not ours, and it stipulates shipping within 30 days of the launch of Visual Studio.
In the future, we'll make sure to specifically mention any delays. We didn't in this case, because our launch was indeed pretty close to being 'simultaneous'.
Again, I hope we have met your expectations and the expectations of other folks out there, and that no one has been misled.
Cheers,
Obfuscator</description>
		<content:encoded><![CDATA[<p>Hi Joe,<br />
I feel obliged to clear up the confusion. In this case &#8217;sim-shipping&#8217; is a Microsoft term and policy, not ours, and it stipulates shipping within 30 days of the launch of Visual Studio.<br />
In the future, we&#8217;ll make sure to specifically mention any delays. We didn&#8217;t in this case, because our launch was indeed pretty close to being &#8217;simultaneous&#8217;.<br />
Again, I hope we have met your expectations and the expectations of other folks out there, and that no one has been misled.<br />
Cheers,<br />
Obfuscator</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe White</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/04/introducing-resharper-50-structural-search-and-replace/#comment-312242</link>
		<dc:creator>Joe White</dc:creator>
		<pubDate>Tue, 13 Apr 2010 12:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=265#comment-312242</guid>
		<description>Cool. It was odd to have VS out and have no word from R# at first, but since you did ship within a few hours after VS, that no-news period turned out to be no big deal. What really threw me was you stating that "sim-ship" meant "up to 30 days later" as if you expected us to know that. That's not what those words mean to me -- if you do this "sim-shipping" again, you might want to throw in a footnote, just so people aren't surprised if you do need to use that little bit of extra time you planned for.

Anyway, I'm looking forward to soon playing with the (hopefully more stable than the last nightly, i.e., able to actually create more than one pattern in the Pattern Catalog without them corrupting each other?) new version for real.</description>
		<content:encoded><![CDATA[<p>Cool. It was odd to have VS out and have no word from R# at first, but since you did ship within a few hours after VS, that no-news period turned out to be no big deal. What really threw me was you stating that &#8220;sim-ship&#8221; meant &#8220;up to 30 days later&#8221; as if you expected us to know that. That&#8217;s not what those words mean to me &#8212; if you do this &#8220;sim-shipping&#8221; again, you might want to throw in a footnote, just so people aren&#8217;t surprised if you do need to use that little bit of extra time you planned for.</p>
<p>Anyway, I&#8217;m looking forward to soon playing with the (hopefully more stable than the last nightly, i.e., able to actually create more than one pattern in the Pattern Catalog without them corrupting each other?) new version for real.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

