[Qgis-developer] PyQGIS Auto-completion and Call Tips in Eric Python Editor

Larry Shaffer larrys at dakotacarto.com
Sun Apr 8 21:48:16 EDT 2012


Hi,

I've successfully generated QScintilla2 API files for the QGIS Python
bindings and utility modules [0]. If you use the Eric4/5 Python editor (or
another based on QScintilla2), you may be interested in installing and
compiling these APIs.

This allows for auto code completion and/or call tips for 3,450 items in
the QGIS API:

    qgis.core.api
    qgis.gui.api
    qgis.analysis.api
    qgis.utils.api
    qgis.console.api

Also included in the archive is a description of how to reproduce the API
files and some screen snaps on using with Eric4. The CMake edit might be
considered for inclusion in the QGIS source, but (I suggest) only with an
additional compile option for triggering creation of the API files, since
it is not usually necessary to produce them, excepting for when the API
changes.

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

[0] http://dl.dropbox.com/u/4058089/qgis/qgis-qsci-apis.zip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120408/9bb6555f/attachment.html


More information about the Qgis-developer mailing list