<?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: Sample SSR Pattern Catalog Available for Download</title>
	<atom:link href="http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/</link>
	<description>ReSharper for productivity, dotTrace for performance, dotCover for test coverage</description>
	<pubDate>Wed, 16 May 2012 20:49:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Jura Gorohovsky</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-340957</link>
		<dc:creator>Jura Gorohovsky</dc:creator>
		<pubDate>Tue, 14 Feb 2012 14:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-340957</guid>
		<description>@Ludvig
Thanks for your input, and sorry for the overzealous captcha plug-in
The functionality suggested by Robert is still not available at this point. I have looked into our &lt;a href="http://youtrack.jetbrains.net/issues/RSRP" rel="nofollow"&gt;issue tracker&lt;/a&gt; to see if a request is there but apparently it's not, so I suggest that you create one.
As to a tree, you might want to take a look at PSI browser and PSI viewer available in ReSharper Internal mode. See more about these and other internal features on &lt;a href="http://www.hmemcpy.com/blog/2010/12/my-talk-at-the-alt-net-israel-tools-meetingresharpers-hidden-gems/" rel="nofollow"&gt;Igal Tabachnik's blog&lt;/a&gt;.
As to regexps, these are not supported in SSR yet.
Hope this helps.</description>
		<content:encoded><![CDATA[<p>@Ludvig<br />
Thanks for your input, and sorry for the overzealous captcha plug-in<br />
The functionality suggested by Robert is still not available at this point. I have looked into our <a href="http://youtrack.jetbrains.net/issues/RSRP" rel="nofollow">issue tracker</a> to see if a request is there but apparently it&#8217;s not, so I suggest that you create one.<br />
As to a tree, you might want to take a look at PSI browser and PSI viewer available in ReSharper Internal mode. See more about these and other internal features on <a href="http://www.hmemcpy.com/blog/2010/12/my-talk-at-the-alt-net-israel-tools-meetingresharpers-hidden-gems/" rel="nofollow">Igal Tabachnik&#8217;s blog</a>.<br />
As to regexps, these are not supported in SSR yet.<br />
Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludvig</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-340949</link>
		<dc:creator>Ludvig</dc:creator>
		<pubDate>Tue, 14 Feb 2012 08:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-340949</guid>
		<description>Thanks for the examples,

I just want to add that I also seek the functionality that Robert suggested.
That is how I wound up here.

Question, do you have a tree to search and is that why identifiers can't be split. Or could one be allowed to use grouping in the regexes??

Very difficult robot-test, extremely hard, this is my 10:th time trying to read it</description>
		<content:encoded><![CDATA[<p>Thanks for the examples,</p>
<p>I just want to add that I also seek the functionality that Robert suggested.<br />
That is how I wound up here.</p>
<p>Question, do you have a tree to search and is that why identifiers can&#8217;t be split. Or could one be allowed to use grouping in the regexes??</p>
<p>Very difficult robot-test, extremely hard, this is my 10:th time trying to read it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-314189</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Tue, 15 Jun 2010 20:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-314189</guid>
		<description>Strange - "x.GetType() == typeof(Y)" is almost exactly the code you get when you use the "Generate Equality Members" tool:

struct Test
{
    public int Value;
}

becomes:

struct Test : IEquatable
{
    public int Value;

    public bool Equals(Test other)
    {
        return other.Value == this.Value;
    }

    public override bool Equals(object obj)
    {
        if (ReferenceEquals(null, obj))
        {
            return false;
        }
        if (obj.GetType() != typeof(Test))
        {
            return false;
        }
        return Equals((Test)obj);
    }

    public override int GetHashCode()
    {
        return this.Value;
    }

    public static bool operator ==(TestMe left, TestMe right)
    {
        return left.Equals(right);
    }

    public static bool operator !=(TestMe left, TestMe right)
    {
        return !left.Equals(right);
    }
}</description>
		<content:encoded><![CDATA[<p>Strange - &#8220;x.GetType() == typeof(Y)&#8221; is almost exactly the code you get when you use the &#8220;Generate Equality Members&#8221; tool:</p>
<p>struct Test<br />
{<br />
    public int Value;<br />
}</p>
<p>becomes:</p>
<p>struct Test : IEquatable<br />
{<br />
    public int Value;</p>
<p>    public bool Equals(Test other)<br />
    {<br />
        return other.Value == this.Value;<br />
    }</p>
<p>    public override bool Equals(object obj)<br />
    {<br />
        if (ReferenceEquals(null, obj))<br />
        {<br />
            return false;<br />
        }<br />
        if (obj.GetType() != typeof(Test))<br />
        {<br />
            return false;<br />
        }<br />
        return Equals((Test)obj);<br />
    }</p>
<p>    public override int GetHashCode()<br />
    {<br />
        return this.Value;<br />
    }</p>
<p>    public static bool operator ==(TestMe left, TestMe right)<br />
    {<br />
        return left.Equals(right);<br />
    }</p>
<p>    public static bool operator !=(TestMe left, TestMe right)<br />
    {<br />
        return !left.Equals(right);<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jura Gorohovsky</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-314018</link>
		<dc:creator>Jura Gorohovsky</dc:creator>
		<pubDate>Fri, 11 Jun 2010 12:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-314018</guid>
		<description>@robert,

There's currently no way to get a search placeholder and divide it into two placeholders in the replace pattern. We're working on making scenarios like yours possible but no schedules yet :(</description>
		<content:encoded><![CDATA[<p>@robert,</p>
<p>There&#8217;s currently no way to get a search placeholder and divide it into two placeholders in the replace pattern. We&#8217;re working on making scenarios like yours possible but no schedules yet <img src='http://blogs.jetbrains.com/dotnet/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-313937</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Mon, 07 Jun 2010 01:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-313937</guid>
		<description>I am probably just missing something, but I want to find a pattern:

public MyTypeName[] VarName {get; set; } // an array of MyTypeNames

and turn it into:

private readonly Collection varName = new Collection();
public Collection VarName {get{ return varName;}}

I am having trouble turning the Pascal Cased VarName to the Camel Cased varName. Any suggestions?
(real code is probably a little different as I just typed this in.)</description>
		<content:encoded><![CDATA[<p>I am probably just missing something, but I want to find a pattern:</p>
<p>public MyTypeName[] VarName {get; set; } // an array of MyTypeNames</p>
<p>and turn it into:</p>
<p>private readonly Collection varName = new Collection();<br />
public Collection VarName {get{ return varName;}}</p>
<p>I am having trouble turning the Pascal Cased VarName to the Camel Cased varName. Any suggestions?<br />
(real code is probably a little different as I just typed this in.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orangy</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-313878</link>
		<dc:creator>orangy</dc:creator>
		<pubDate>Wed, 02 Jun 2010 18:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-313878</guid>
		<description>The pattern says about Value Type, guys. And matches only inheritors of ValueType :)</description>
		<content:encoded><![CDATA[<p>The pattern says about Value Type, guys. And matches only inheritors of ValueType <img src='http://blogs.jetbrains.com/dotnet/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe White</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-313876</link>
		<dc:creator>Joe White</dc:creator>
		<pubDate>Wed, 02 Jun 2010 17:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-313876</guid>
		<description>Yeah, I spotted the same bug.</description>
		<content:encoded><![CDATA[<p>Yeah, I spotted the same bug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omer Mor</title>
		<link>http://blogs.jetbrains.com/dotnet/2010/06/sample-ssr-pattern-catalog-available-for-download/#comment-313875</link>
		<dc:creator>Omer Mor</dc:creator>
		<pubDate>Wed, 02 Jun 2010 16:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/dotnet/?p=681#comment-313875</guid>
		<description>Thanks for the samples.
I found a small bug in one of them:
   x.GetType() == typeof(Y)
does not equal to 
  x is Y

i.e
("string" is object) == true
but
("string".GetType() == typeof(object)) == false</description>
		<content:encoded><![CDATA[<p>Thanks for the samples.<br />
I found a small bug in one of them:<br />
   x.GetType() == typeof(Y)<br />
does not equal to<br />
  x is Y</p>
<p>i.e<br />
(&#8221;string&#8221; is object) == true<br />
but<br />
(&#8221;string&#8221;.GetType() == typeof(object)) == false</p>
]]></content:encoded>
	</item>
</channel>
</rss>

