<br>It is not about adding the &quot;import&quot; word,&nbsp;but&nbsp;rather&nbsp;checking&nbsp;what&nbsp;you&nbsp;can&nbsp;import&nbsp;from&nbsp;a&nbsp;given&nbsp;package&nbsp;or&nbsp;module&nbsp;and&nbsp;ofering&nbsp;those&nbsp;objects&nbsp;as&nbsp;possible&nbsp;completions.<br> <br>I found it&#39;s is a great way of exploring packages as well, without having to resort to their API documentation for the class names.
<br><br>Flávio<br><br><div><span class="gmail_quote">On 12/30/07, <b class="gmail_sendername">Evren Esat Özkan</b> &lt;<a href="mailto:sleytr@gmail.com">sleytr@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Eric4 already supports this feature.<br>Goto Preferences / Editor / Typing &gt;&gt; Python : then check the &quot; Automatic<br>insertion of the &#39;import&#39; string&nbsp;&nbsp;on &#39;from&nbsp;&nbsp;xxx&#39; &quot;&nbsp;&nbsp;option.<br><br>I&#39;m not sure, but probably this feature depending&nbsp;&nbsp;to the installed&nbsp;&nbsp;APIs.
<br>If so, you have to create and install api files for the modules you<br>importing from and then configure Autocompletion to&nbsp;&nbsp;&quot;from document and<br>API files&quot;&nbsp;&nbsp;too.<br><br>(I&#39;m using latest snapshots and&nbsp;&nbsp;don&#39;t remember if this feature is
<br>supporting in previous versions. )<br><br><br><br>On Sun, 30 Dec 2007 14:49:27 +0200, Flavio Coelho &lt;<a href="mailto:fccoelho@gmail.com">fccoelho@gmail.com</a>&gt;<br>wrote:<br><br>&gt; Hi,<br>&gt;<br>&gt; there is a feature in the Komodo IDE that I&#39;d love to have in Eric: auto
<br>&gt; completion for imports<br>&gt;<br>&gt; example :<br>&gt;<br>&gt; import &lt;pop up here&gt;<br>&gt; from soandso import &lt;pop up here&gt;<br>&gt;<br>&gt; is there any chance of this getting into Eric?<br><br><br>
<br>--<br>Evren Esat Özkan<br></blockquote></div><br><br clear="all"><br>-- <br>Flávio Codeço Coelho<br>----------------------------------------------------------------<br>&quot;My grandfather once told me that there were two kinds of people: those who do the work and those who take the credit. He told me to try to be in the first group; there was much less competition.&quot;
<br>Indira Gandhi<br>====================================<br>registered Linux user # 386432<br>get counted at <a href="http://counter.li.org">http://counter.li.org</a><br>----------------------------------------------------------------