[Eric] How to generate/load/use Api-Files?
Detlev Offenbach
detlev at die-offenbachs.de
Fri Nov 9 17:33:58 GMT 2007
On Freitag, 9. November 2007, Maurice Meeden wrote:
> Hi,
>
> I'm new to eric and i'm confused about the Features 'Sourcecode
> autocompletion' and 'Sourcecode calltips'.. For this features it's
> needed to generate .api-files, right?
> My packagemanager told me after installation of eric4 (Arch Linux,
> eric4-4.0.3-1):
> ==> If you would like to use the autocompletion feature please call
> ==> the gen_sip_api.py and/or gen_python_api.py script available
> ==> on the eric4 contribution page or get ready made api-files
> ==> from this contribution page.
>
> I could'nt find a contribution page nor these scripts, and the section
> 'api' in the wiki only countains a todo.
> How can I use the autocompletion feature?
>
> Regards Maurice
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
Unfortunately your distribution is a bit outdated with respect to this option.
QScintilla and PyQt4 come with ready made API files. For pure Python
files/projects one can use eric4-api.py, which is contained in the eric4
distribution. Of course, eric4 has it's own API file. All API files should go
into the qscintilla path of your Qt4 installation. The API page of the eric4
configuration dialog allows the selection of API files per supported
programming language. Once the selection is done, you may use the same dialog
to compile the raw API files. If the autocompile option is checked, eric4
will do this automatically when neccessary.
After that is done, you may configure Autocompletion and Calltips using there
respective configuration page.
Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list