On Wednesday 23 December 2009 22:37:52 detlev wrote: > Hi, > > QScintilla uses so called API files that describe the API of a software > package like Python or numpy. Without them, there is no autocompletion or > calltips available for that package. > > I have an old script around, that may be used to generate such an API file > for numpy. If anybody wants to hack it, please leave me a note. > > Regards, > Detlev
I don't want to hack it for numpy, but it might be handy to perhaps better understand what is "under the bonnet" of eric and perhaps for making a plugin for bzr (Bazaar) as an alternative VCS for eric. (I've had some problems with eric, but will leave that alone till after Christmas. Something that I can not sort out - probably very simple...) Would it be expedient to put the QScintilla API files somewhere for download? I don't mind receiving attachments, but it may be too much trouble for you? OldAl. > > On Mittwoch, 23. Dezember 2009, Algis Kabaila wrote: > > On Tuesday 22 December 2009 23:47:37 detlev wrote: > > > On Dienstag, 22. Dezember 2009, reckoner wrote: > > > > Are there instructions for this? Maybe I could try? > > > > > > If numpy is a Python source package, you could use eric4-api.py. > > > > NumPy is a large and complex module with big portions written in C/C++. > > It covers matrix algebra and other matrix or matrix-like numeric > > operations. It claims to superseed Numeric and NumArray. > > > > Alas, I do not understand what sort of API's you are talking about. > > NumPy is a module and can be used as a module - with eric or any other > > IDE for python, icluding a CLI console. > > > > HTH, > > OldAl. > > > > > If it > > > consists of some wrapped C/C++ sources you should ask Phil Thompson (or > > > the PyQt mailing list) how he generated the API files for the different > > > Python variants. > > > > > > Regards, > > > Detlev > > > > > > > Thanks! > > > > > > > > On 12/21/2009 11:13 PM, detlev wrote: > > > > > On Dienstag, 22. Dezember 2009, reckoner wrote: > > > > >> Hi, > > > > >> > > > > >> I'm just getting started with eric4. I can see how to complete for > > > > >> the standard library in the editor, but how would I accomplish > > > > >> completion for modules like numpy? In other words, how would I get > > > > >> > > > > >> numpy.<TAB><TAB> > > > > >> > > > > >> to offer completions as it does with > > > > >> > > > > >> string.<TAB><TAB> > > > > >> > > > > >> I searched through the mailing list archives, but I didn't find > > > > >> anything that looked up to date or helpful on this topic. > > > > >> > > > > >> Maybe I'm missing something. > > > > > > > > > > You are missing an API file for numpy. Unfortunately nobody has > > > > > created one yet. Any volunteer out there? > > > > > > > > > > Regards, > > > > > Detlev -- Algis Kabaila, MEngSc, PhD(Eng) http://akabaila.pcug.org.au/StructuralAnalysis.pdf _______________________________________________ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric