<?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: Structural search and replace</title>
	<atom:link href="http://blogs.jetbrains.com/idea/2006/03/structural-search-and-replace/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/idea/2006/03/structural-search-and-replace/</link>
	<description>tips &#38; tricks, news, how-to's</description>
	<pubDate>Mon, 13 Feb 2012 09:08:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Drew Noakes</title>
		<link>http://blogs.jetbrains.com/idea/2006/03/structural-search-and-replace/#comment-178307</link>
		<dc:creator>Drew Noakes</dc:creator>
		<pubDate>Wed, 27 Apr 2011 02:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=3#comment-178307</guid>
		<description>Where are these settings found in IDEA 10.5?</description>
		<content:encoded><![CDATA[<p>Where are these settings found in IDEA 10.5?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgeniy</title>
		<link>http://blogs.jetbrains.com/idea/2006/03/structural-search-and-replace/#comment-2180</link>
		<dc:creator>Evgeniy</dc:creator>
		<pubDate>Fri, 08 Sep 2006 15:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=3#comment-2180</guid>
		<description>Hi.

I have spend already an hour trying to write simple template for structural replace. All I want to do is to replace constant initizlization with static initialization and try/catch block.

So template for search is:
public final static Colour $VAR_NAME$ = new Colour($PARAMS$);

for replace:
public static Colour $VAR_NAME$; 
static
{
    try
    {
        $VAR_NAME$ = new Colour($PARAMS$);
    } catch(Throwble t)
    {
        t.printStackTrace();
    }
}

But Idea reports: 
Unsupported Replacement Pattern The search template is not an expression, but the replacement template is well formed expression. 

What I'am doing wrong?</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I have spend already an hour trying to write simple template for structural replace. All I want to do is to replace constant initizlization with static initialization and try/catch block.</p>
<p>So template for search is:<br />
public final static Colour $VAR_NAME$ = new Colour($PARAMS$);</p>
<p>for replace:<br />
public static Colour $VAR_NAME$;<br />
static<br />
{<br />
    try<br />
    {<br />
        $VAR_NAME$ = new Colour($PARAMS$);<br />
    } catch(Throwble t)<br />
    {<br />
        t.printStackTrace();<br />
    }<br />
}</p>
<p>But Idea reports:<br />
Unsupported Replacement Pattern The search template is not an expression, but the replacement template is well formed expression. </p>
<p>What I&#8217;am doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ghetto Java</title>
		<link>http://blogs.jetbrains.com/idea/2006/03/structural-search-and-replace/#comment-64</link>
		<dc:creator>Ghetto Java</dc:creator>
		<pubDate>Mon, 03 Apr 2006 22:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=3#comment-64</guid>
		<description>I didn't even know you could do templates for SSR. I wish the structural search was the default or at least an option in the prefs to make it the default search. Hmm, thinking about it now I guess I could replace the ctl-f (command-f on osx) assignment to use SSR.
I'll try that.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t even know you could do templates for SSR. I wish the structural search was the default or at least an option in the prefs to make it the default search. Hmm, thinking about it now I guess I could replace the ctl-f (command-f on osx) assignment to use SSR.<br />
I&#8217;ll try that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

