<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>JetBrains Developer Community: Message List - SSR and Coffeescript?</title>
    <link>http://devnet.jetbrains.com/community/idea/ideacommunity?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 30 Apr 2012 14:16:00 GMT</pubDate>
    <generator>Clearspace 2.5.16 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2012-04-30T14:16:00Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: SSR and Coffeescript?</title>
      <link>http://devnet.jetbrains.com/message/5458390?tstart=0#5458390</link>
      <description>&lt;!-- [DocumentBodyStart:6809db04-ed1c-4d93-b2a2-9a8eb5dd691e] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Done.&amp;#160; &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://youtrack.jetbrains.com/issue/IDEA-85471"&gt;http://youtrack.jetbrains.com/issue/IDEA-85471&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6809db04-ed1c-4d93-b2a2-9a8eb5dd691e] --&gt;</description>
      <pubDate>Mon, 30 Apr 2012 14:16:00 GMT</pubDate>
      <author>devnet@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/message/5458390?tstart=0#5458390</guid>
      <dc:date>2012-04-30T14:16:00Z</dc:date>
      <clearspace:dateToText>1 year, 3 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: SSR and Coffeescript?</title>
      <link>http://devnet.jetbrains.com/message/5458355?tstart=0#5458355</link>
      <description>&lt;!-- [DocumentBodyStart:33d7eb2e-8090-492a-aef7-5868ef66e747] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;We haven't done any work at all to support SSR for CoffeeScript. Whatever works right now is mostly by accident. &lt;img height="16px" src="http://devnet.jetbrains.com/images/emoticons/happy.gif" width="16px"/&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;You're welcome to file a feature request at &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://youtrack.jetbrains.com/"&gt;http://youtrack.jetbrains.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:33d7eb2e-8090-492a-aef7-5868ef66e747] --&gt;</description>
      <pubDate>Mon, 30 Apr 2012 09:21:35 GMT</pubDate>
      <author>yole@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/message/5458355?tstart=0#5458355</guid>
      <dc:date>2012-04-30T09:21:35Z</dc:date>
      <clearspace:dateToText>1 year, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>SSR and Coffeescript?</title>
      <link>http://devnet.jetbrains.com/message/5458348?tstart=0#5458348</link>
      <description>&lt;!-- [DocumentBodyStart:19dda183-d0d3-4b43-a1d7-3b22441a3341] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Been playing around with Structural Search and Replace in INTELLJ 11.1.1.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. I've set the file type to Coffeescript.&lt;/p&gt;&lt;p&gt;2. Search pattern is ==&lt;/p&gt;&lt;p&gt;3. Replace pattern is (literal) &lt;em&gt;is&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;4. All else default.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;SSR finds the pattern in my code:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;if foo == bar then console.log "foo is bar!"&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hit Alt-Enter and choose &lt;em&gt;Replace with "is".&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Expected : Text replaced with &lt;em&gt;if foo is bar &lt;/em&gt;&lt;/p&gt;&lt;p&gt;Actual:&lt;strong&gt;&lt;em&gt; Text does not change. &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is SSR REALLY supposed to work with Coffeescript?&amp;#160; SSR for Coffeescript feels really unsolid. Here are some other patterns that are not working:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Ternary to coffeescript if/then/else&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;$boolean$ ? $result1$ : $result2$&lt;/em&gt;&amp;#160; &lt;strong&gt;replaced with &lt;/strong&gt;&lt;em&gt;if $boolean$ then $result1$ else $result2$&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here's the source I'm testing with:&amp;#160; &lt;em&gt;console.log (zit &amp;gt; zot ? "OK" : "NOT OK")&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This kind of works but $boolean$ only matches on "zot" and not on the whole boolean expression (zit &amp;gt; zot)&amp;#160; I've tried various regex definitions but SSR always wants to treat $boolean$ as just zot.&amp;#160; On a side note:&amp;#160; Ternary expressions aren't allowed in Coffeescript but the Coffeescript compiler doesn't treat them as errors, so Intellij is in good company :).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Not Equals to literal not&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;!=&lt;/em&gt;&lt;strong&gt; to &lt;/strong&gt;&lt;em&gt;is not&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Works just like ==,&amp;#160; Nothing happens.&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;br/&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Would love to put this through it's paces but need to get verification that this is working as it should.&amp;#160; I'm also willing to beta test any fixes.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:19dda183-d0d3-4b43-a1d7-3b22441a3341] --&gt;</description>
      <pubDate>Mon, 30 Apr 2012 04:18:12 GMT</pubDate>
      <author>devnet@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/message/5458348?tstart=0#5458348</guid>
      <dc:date>2012-04-30T04:18:12Z</dc:date>
      <clearspace:dateToText>1 year, 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
  </channel>
</rss>

