On 9/13/06, Joel Hedlund <[EMAIL PROTECTED]> wrote:
> Use assist_regex_based_proposal.RegexBasedProposal() to get going real
> quick. Use assist_proposal.AssistProposal() for a higher degree of control.
>
> BTW: I'm really starting to see the possibilities with scripting Pydev
> now...
>
> What do you think about this?
Hi Joel,
Nice touch...and possibilities are endless ;-)
I've just commited your code, but I did do one change: instead of
letting 3 options: for list(), dict() or self.var_value, I've only let
one that does:
if value is None:
value = []
and let the '[]' selected for the user to change it.
I did it mostly because I think that presenting too many options for a
very similar thing makes things a bit confusing (so, you actually have
to stop for a moment and read each option carefully).
One thing I didn't change but thought would be nice (if you're up to
it) would be doing it at the line:
def met1(self, arg=None): |<-- ctrl+1 here would bring the suggestion,
instead of having to create another line with arg to make the choice
(and if more than one argument had '=None', add one option for each).
What do you think?
As for the assign code, I didn't add it because there was an option to
do it already (I've just relaxed the restriction of just doing it on a
call).
Cheers,
Fabio
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code