Re: [Boa Constr] calltips and autocompletion
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2001-06-14 15:01:58
|
Hello Patrick O'Many questions ;) "Patrick K. O'Brien" wrote: > > What is the process for expanding the calltips and autocompletion > capabilities of the boa editor and shell so that it is on par with IDLE and > PythonWin? (And if you want to respond by saying "feel free to modify the > source and make this work" I can only say that I fully intend to help out as > I get up to speed. In the mean time I'm just looking for some basic > background info and hoping that you've already finished this. <grin> Ctrl-Space brings up code completion, Ctrl-Shft-Space next to a bracket brings up calltips (not much calltip support yet) I've now made these bindings configureable. At the moment the code completion reflects the information Boa has available after parsing the file. One big difference between Boa and IDLE/PythonWin is that Boa works on one module at a time while IDLE/PythonWin also include the modules that are imported in the module. I went this route to cut down on the time required for parsing. I definately intend to improve the situation. IDLE and PythonWin share a code base called the IDLE Extensions. This includes keybindings, code completion, block manipulations on the source like indent and other operations. I have considered also using it but so far I have not had the time. It will require a lot of changes. If anybody has time to look into this I would really appreciate it. If you want to look at the source for code completion check out: Views.PySourceView.checkCodeComp() CallTips really needs attention; things like activating anywhere inside the bracket (instead of just next to one), bolding the current item in the parameter list etc are still missing. Look at: Views.PySourceView.checkCallTip() > > --- > Patrick K. O'Brien > Orbtech > "I am, therefore I think." > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |