Re: [Pydev-code] PyDictionary becomes a model
Brought to you by:
fabioz
From: Dana M. <dan...@ya...> - 2004-04-02 20:06:27
|
Looked at the PyDictionary Code. Looks good. I understand what you are doing now and it makes sense. I really hate traversing the AST. I wonder if we can also use this structure for... [See AutoCompletion-1.gif] In addition to populating a dict with the class-defs, function-defs for the text in the editor pane, could we also 1. Look at the imports, 2. AST them 3. PyDictionary them This would help us accomplish what we show in AutoCompletion-1.gif [See AutoCompletion-2.gif] Here we have to know that the actual class of x is foo. Any thoughts on how to do that? I guess we could take note of the x = foo() and replicate foo's dictionary? [see AutoCompletion-3] I guess we will have to autoactivate on "(" too. --- Aleks Totic <a...@to...> wrote: > Hi, > after working through my PyDictionary and ctrl-click API, I've > realized that what we need is a model with a nice query API. The > AST syntax tree is cumbersome to work with. I'll keep you updated > on the progress. I hope to have a first cut of it by tomorrow. > > Aleks > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Pydev-code mailing list > Pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code ===== _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Dana Moore _/ _/ BBN Technologies LLC _/ _/ M: 240.350.4196 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ |