Re: [Pydev-code] re: PyDev development
Brought to you by:
fabioz
From: Dana M. <dan...@ya...> - 2004-06-10 18:43:37
|
Parhaum, comments inline --- Parhaum Toofanian <pto...@ho...> wrote: > I have a feeling this isn't going to reply to the thread I started, > so sorry > if this starts another one. > > As for the help guide, I know org.python.pydev.help is there already, > but I > was thinking a more extended version, kind of newbie-fying everything > to > explain each feature individually. I'll commit the things I added in > a > couple minutes so you can see what I mean. I added a section to help > in > that kind of format. > So, would this be basically an html page like this one: http://home.tiscali.be/redrobin/jython/ > As for code completion, I'm not precisely the most knowledgable > person > around, so I don't know what I could add to what you already know. I > was > just checking if it was still being worked on, so I have only gone > through > the code a bit without touching that particular entity. I'd like to > hear > how you went about it, though. > I am still playing with it. You can see a screenshot of it attachment [1]. Right now, what I have done is to wrap Jython as a plugin; I am invoking a set of .py files I have in the library path for jython from eclipse to introspect the editor content itself; I look for the ectivating character (currently I am only looking for '.' which will allow expansion of the symbol preceding it. so, in the screendump "." is the activating character, and "y" is the symbol expanded; the list of completions is: ['addItem', 'list', '__class__', '__dict__', '__doc__', '__init__', '__module__'] I just create ICompletionProposals from that and that's what gets diplayed (as seen in the screendump). right now, what I am wrestling with is this: 1. my solution is brittle -- we don't want to force the user to have to install jython. Therefore everything must be in a jar in our plugin. That has proven to be a little painful but it needs to be done and I am still goofing around with the solution to that 2. we also need to expand to activate on at least "(" so that we can get suggested args. See attachment [2] to understand what I am talking about. That's a screencap from pyalamode When I solve 1. above, I will check my current stuff in. I put this aside for a while owing to an extremely busy time at work, but I am close(r) now to wrapping it up. > As for the features Dana mentioned, my first priority is to include > features > on the feature list I have, because I have a deadline for this by > August, > when my Master's project (what I'm working on) is to be completed. So what's on your feature list? I am sure we would love to have it in any case. If you want to talk this over by 'phone I will be happy to call you if you provide a number. > So > before I can look into anything else with this, I must focus on what > I have > been tasked to do. And since I'm still rather new to this > development > platform, I wouldn't be much help for a little while anyway, but I'll > see > what happens. > Eclipse has got quite a learning curve. It's just a matter of continuing to slog thru it; have fun and I can probably answer some of your "next level" questions. > - Parhaum > thanks - D attachments: [1] autocomplete-061004.gif [2] autocomplete-PyAla-example.gif ===== _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Dana Moore _/ _/ BBN Technologies LLC _/ _/ M: 240.350.4196 _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ |