<p>Ok, I was talking about this feature: <a href="http://s3.amazonaws.com/sbkt/pictures/2035/eric4_import_autocomplete2.jpg">http://s3.amazonaws.com/sbkt/pictures/2035/eric4_import_autocomplete2.jpg</a><br><br></p><div><span class="gmail_quote">
On 12/30/07, <b class="gmail_sendername">Flavio Coelho
</b> <<a href="mailto:fccoelho@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fccoelho@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>It is not about adding the "import" word, but rather checking what you can import from a given package or module and ofering those objects as possible completions.
<br> <br>I found it'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<div><span><br><br><div><span class="gmail_quote">On 12/30/07, <b class="gmail_sendername">Evren Esat Özkan</b> <<a href="mailto:sleytr@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sleytr@gmail.com</a>> 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 >> Python : then check the " Automatic<br>insertion of the 'import' string on 'from xxx' " option.<br><br>I'm not sure, but probably this feature depending to the installed APIs.
<br>If so, you have to create and install api files for the modules you<br>importing from and then configure Autocompletion to "from document and<br>API files" too.<br><br>(I'm using latest snapshots and don'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 <<a href="mailto:fccoelho@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fccoelho@gmail.com
</a>><br>wrote:<br><br>> Hi,<br>><br>> there is a feature in the Komodo IDE that I'd love to have in Eric: auto
<br>> completion for imports<br>><br>> example :<br>><br>> import <pop up here><br>> from soandso import <pop up here><br>><br>> 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></span></div><div><span>-- <br>Flávio Codeço Coelho<br>----------------------------------------------------------------
<br>"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."
<br>Indira Gandhi<br>====================================<br>registered Linux user # 386432<br>get counted at <a href="http://counter.li.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://counter.li.org
</a><br>----------------------------------------------------------------
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Evren Esat ÖZKAN<br><a href="mailto:esat.ozkan@asyanet.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">esat.ozkan@asyanet.com</a>