I would seriously consider upgrading the Python console, first of all to support autocompletion. I suggested the incorporation of QScintilla a couple of years ago, but it didn&#39;t raise much interest. A few weeks ago I gave a look to iPython, and it&#39;s Qt console [1].<div>
<br></div><div>giovanni<br><div><br></div><div>[1] 
<a href="http://ipython.org/ipython-doc/dev/interactive/qtconsole.html">http://ipython.org/ipython-doc/dev/interactive/qtconsole.html</a> <br><div><br><br><div class="gmail_quote">2012/4/9 Tim Sutton <span dir="ltr">&lt;<a href="mailto:lists@linfiniti.com">lists@linfiniti.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Larry<br>
<div class="im"><br>
On Mon, Apr 9, 2012 at 5:20 AM, Larry Shaffer &lt;<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>&gt; wrote:<br>
&gt; On Sun, Apr 8, 2012 at 7:48 PM, Larry Shaffer &lt;<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve successfully generated QScintilla2 API files for the QGIS Python<br>
&gt;&gt; bindings and utility modules [0]. If you use the Eric4/5 Python editor (or<br>
&gt;&gt; another based on QScintilla2), you may be interested in installing and<br>
&gt;&gt; compiling these APIs.<br>
&gt;<br>
&gt;<br>
&gt; Seems a better approach, instead of changing SIPMacros.cmake, would be in<br>
&gt; python/CMakeLists.txt [0]:<br>
&gt;<br>
&gt; --- python/CMakeLists_orig.txt    2012-02-19 13:41:41.000000000 -0700<br>
&gt; +++ python/CMakeLists.txt    2012-04-08 21:00:16.000000000 -0600<br>
&gt; @@ -54,0 +55 @@<br>
&gt; +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a<br>
&gt; ${CMAKE_BINARY_DIR}/python/qgis.core.api)<br>
&gt; @@ -68,0 +70 @@<br>
&gt; +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a<br>
&gt; ${CMAKE_BINARY_DIR}/python/qgis.gui.api)<br>
&gt; @@ -79,0 +82 @@<br>
&gt; +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a<br>
&gt; ${CMAKE_BINARY_DIR}/python/qgis.analysis.api)<br>
&gt;<br>
&gt; This worked fine on compile, creating the same output as the SIPMacros.cmake<br>
&gt; edit. Each SIP_EXTRA_OPTIONS could be wrapped with a conditional based on a<br>
&gt; compile option for generating the APIs.<br>
&gt;<br>
<br>
</div>Two quick comments:<br>
<br>
1) Could you submit your patch via github? If it is a cmake<br>
conditional compilation I see no reason to exclude it from master -<br>
others may have a different opinion.<br>
2) What I would really *love* is to have QGIS api completion (and<br>
other standard python modules if it is easy to achieve) in the built<br>
in python console that is activeated from the QGIS plugins menu. I<br>
often like to demo stuff to people using the python console and always<br>
flap around trying to remember syntax. Obviously this would add a<br>
qsctintilla dependency to QGIS core - how do others feel about this?<br>
Given the other work you are busy with that dependency is probably<br>
coming anyway....<br>
<br>
<br>
Regards<br>
<br>
Tim<br>
<div class="im"><br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Larry Shaffer<br>
&gt; Dakota Cartography<br>
&gt; Black Hills, South Dakota<br>
&gt;<br>
&gt; [0] <a href="http://dl.dropbox.com/u/4058089/qgis/CMakeLists.txt" target="_blank">http://dl.dropbox.com/u/4058089/qgis/CMakeLists.txt</a><br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Qgis-developer mailing list<br>
&gt; <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)<br>
==============================================<br>
Please do not email me off-list with technical<br>
support questions. Using the lists will gain<br>
more exposure for your issues and the knowledge<br>
surrounding your issue will be shared with all.<br>
<br>
Visit <a href="http://linfiniti.com" target="_blank">http://linfiniti.com</a> to find out about:<br>
 * QGIS programming and support services<br>
 * Mapserver and PostGIS based hosting plans<br>
 * FOSS Consulting Services<br>
Skype: timlinux<br>
Irc: timlinux on #qgis at <a href="http://freenode.net" target="_blank">freenode.net</a><br>
==============================================<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br></div></div></div>