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.
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. Flávio On 12/30/07, Evren Esat Özkan <[EMAIL PROTECTED]> wrote: > > Eric4 already supports this feature. > Goto Preferences / Editor / Typing >> Python : then check the " Automatic > insertion of the 'import' string on 'from xxx' " option. > > I'm not sure, but probably this feature depending to the installed APIs. > If so, you have to create and install api files for the modules you > importing from and then configure Autocompletion to "from document and > API files" too. > > (I'm using latest snapshots and don't remember if this feature is > supporting in previous versions. ) > > > > On Sun, 30 Dec 2007 14:49:27 +0200, Flavio Coelho <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > there is a feature in the Komodo IDE that I'd love to have in Eric: auto > > completion for imports > > > > example : > > > > import <pop up here> > > from soandso import <pop up here> > > > > is there any chance of this getting into Eric? > > > > -- > Evren Esat Özkan > -- Flávio Codeço Coelho ---------------------------------------------------------------- "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." Indira Gandhi ==================================== registered Linux user # 386432 get counted at http://counter.li.org ----------------------------------------------------------------
_______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
