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't raise much interest. A few weeks ago I gave a look to iPython, and it'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"><<a href="mailto:lists@linfiniti.com">lists@linfiniti.com</a>></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 <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>> wrote:<br>
> On Sun, Apr 8, 2012 at 7:48 PM, Larry Shaffer <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I've successfully generated QScintilla2 API files for the QGIS Python<br>
>> bindings and utility modules [0]. If you use the Eric4/5 Python editor (or<br>
>> another based on QScintilla2), you may be interested in installing and<br>
>> compiling these APIs.<br>
><br>
><br>
> Seems a better approach, instead of changing SIPMacros.cmake, would be in<br>
> python/CMakeLists.txt [0]:<br>
><br>
> --- python/CMakeLists_orig.txt 2012-02-19 13:41:41.000000000 -0700<br>
> +++ python/CMakeLists.txt 2012-04-08 21:00:16.000000000 -0600<br>
> @@ -54,0 +55 @@<br>
> +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a<br>
> ${CMAKE_BINARY_DIR}/python/qgis.core.api)<br>
> @@ -68,0 +70 @@<br>
> +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a<br>
> ${CMAKE_BINARY_DIR}/python/qgis.gui.api)<br>
> @@ -79,0 +82 @@<br>
> +set(SIP_EXTRA_OPTIONS ${PYQT4_SIP_FLAGS} -o -a<br>
> ${CMAKE_BINARY_DIR}/python/qgis.analysis.api)<br>
><br>
> This worked fine on compile, creating the same output as the SIPMacros.cmake<br>
> edit. Each SIP_EXTRA_OPTIONS could be wrapped with a conditional based on a<br>
> compile option for generating the APIs.<br>
><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>
><br>
> Regards,<br>
><br>
> Larry Shaffer<br>
> Dakota Cartography<br>
> Black Hills, South Dakota<br>
><br>
> [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>
><br>
</div>> _______________________________________________<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>
><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>