<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Prototype Code Insigh (auto complete, Intelisense etc)' | Pragmatic Forums</title>
    <link>http://fora.pragprog.com/forums/45/topics/329</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Prototype Code Insigh (auto complete, Intelisense etc) posted by Christophe Porteneuve @ Mon, 31 Mar 2008 20:49:55 -0000</title>
      <description>&lt;p&gt;Look up Kangax&amp;#8217;s awesome &lt;a href="http://thinkweb2.com/projects/prototype/prototype-1602-cheat-sheet/"&gt;Prototype 1.6.0.2 cheatsheet&lt;/a&gt; for this :-)&lt;/p&gt;</description>
      <pubDate>Mon, 31 Mar 2008 20:49:55 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:45:329:2517</guid>
      <author>Christophe Porteneuve</author>
      <link>http://fora.pragprog.com/forums/45/topics/329</link>
    </item>
    <item>
      <title>Prototype Code Insigh (auto complete, Intelisense etc) posted by St&#233;phane Boisvert @ Sun, 30 Mar 2008 22:53:10 -0000</title>
      <description>&lt;p&gt;Christophe,&lt;/p&gt;


	&lt;p&gt;As for the second part of my message reading it now&amp;#8230; I have no idea what I was thinking&amp;#8230; some strange coffee hallucination maybe&amp;#8230;.&lt;br /&gt;As for &lt;span class="caps"&gt;IDE&lt;/span&gt;&amp;#8217;s with Dynamic languages I have had an incredible with &lt;span class="caps"&gt;PHP&lt;/span&gt; on the PhpED and &lt;span class="caps"&gt;ZDE&lt;/span&gt; Studios with their magic figuring out variables type and object types and such and was therefore hoping to see something of the like to remind me of the arguments and the function names. a cheat sheet on the second monitor could be almost as useful.&lt;/p&gt;


	&lt;p&gt;thanks again.&lt;/p&gt;</description>
      <pubDate>Sun, 30 Mar 2008 22:53:10 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:45:329:2512</guid>
      <author>St&#233;phane Boisvert</author>
      <link>http://fora.pragprog.com/forums/45/topics/329</link>
    </item>
    <item>
      <title>Prototype Code Insigh (auto complete, Intelisense etc) posted by Christophe Porteneuve @ Sun, 23 Mar 2008 18:41:15 -0000</title>
      <description>&lt;p&gt;Hey St&#233;phane, you&amp;#8217;re welcome :-)&lt;/p&gt;


	&lt;p&gt;As for an &lt;span class="caps"&gt;IDE&lt;/span&gt;:  I just stopped using full-blown IDEs when I switched to Rails, so I&amp;#8217;m not all that up-to-date on the state of the art for JS-related &lt;span class="caps"&gt;IDE&lt;/span&gt; tooling.  I do hear a lot about Aptana (incidently, these guys took over RadRails as well), which is still Eclipse-based, but appears to be the most advanced JS-related &lt;span class="caps"&gt;IDE&lt;/span&gt; there is so far.  I don&amp;#8217;t know how well they support Prototype.  Typically, IDEs do a sub-par job when dealing with dynamic languages, as they can&amp;#8217;t infer as much completion as they could in statically-typed systems.  Prototype&amp;#8217;s code style is also heavy on nice JS idioms that are, however, difficult to auto-analyze and complete/scope for by an &lt;span class="caps"&gt;IDE&lt;/span&gt;.&lt;/p&gt;


	&lt;p&gt;If you&amp;#8217;re on Mac, I would suggest looking into TextMate and recent bundles I&amp;#8217;ve seen flying around that specifically address Prototype.  As they focus on the regular idioms the library recommends, they may be of more help code-style-wise.  If you&amp;#8217;re just in it for method name completion, other tools may be sufficient.&lt;/p&gt;


	&lt;p&gt;Also know I&amp;#8217;m starting work on a RefCardz&#8482; from the book, which may help you get the kind of quick reminders you need.&lt;/p&gt;


	&lt;p&gt;Now on to the second part of your message: I&amp;#8217;m not sure I get all that you mean, but on the specifics of &lt;code&gt;$R(1,20).include(12)&lt;/code&gt;, your text doesn&amp;#8217;t make sense.  &lt;code&gt;$R&lt;/code&gt; creates an &lt;code&gt;ObjectRange&lt;/code&gt;, and the reason why this call returns &lt;code&gt;true&lt;/code&gt; is that 12 is, indeed, in the integer range [1;20].  Boolean equivalence is never used here, and frankly, if it were, the statement would be downright weird.&lt;/p&gt;


	&lt;p&gt;&amp;#8216;HTH&lt;/p&gt;</description>
      <pubDate>Sun, 23 Mar 2008 18:41:15 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:45:329:2479</guid>
      <author>Christophe Porteneuve</author>
      <link>http://fora.pragprog.com/forums/45/topics/329</link>
    </item>
    <item>
      <title>Prototype Code Insigh (auto complete, Intelisense etc) posted by St&#233;phane Boisvert @ Sat, 22 Mar 2008 18:20:47 -0000</title>
      <description>&lt;p&gt;Good day, Thank you for a great book Christophe,&lt;br /&gt;I was wondering if you had any suggestions as to an &lt;span class="caps"&gt;IDE&lt;/span&gt; (or eclipse plug in [JSEclipse doesn&amp;#8217;t seem to work]) that would do prototype code completion for those of us who have &amp;#8220;difficulties&amp;#8221; with remembering functions and writing in general. Also I just had a few comments, On page 82 (and others) there are the examples now I am pretty sure I know why $R(1,20).include(12) is true [because 1 evaluate to true and so does 12] but I would like to a small explication beside the answers that might not be fully certain or fully certain.&lt;/p&gt;


	&lt;p&gt;Merci!&lt;/p&gt;</description>
      <pubDate>Sat, 22 Mar 2008 18:20:47 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:45:329:2474</guid>
      <author>St&#233;phane Boisvert</author>
      <link>http://fora.pragprog.com/forums/45/topics/329</link>
    </item>
  </channel>
</rss>
