Re: [Pydev-code] Default argument values in Code completion
Brought to you by:
fabioz
From: vincent l. <lap...@ho...> - 2009-11-19 22:06:48
|
Hi, Where should I make a feature request? Thanks ---------------------------------------- > Date: Thu, 19 Nov 2009 17:34:20 -0200 > From: fa...@es... > To: pyd...@li... > Subject: Re: [Pydev-code] Default argument values in Code completion > > Hi Vincent, > > This is not planned. > > Please add a feature request for that (that would be added as a > preference -- in general, I think the current behavior is nicer -- > although it should appear in the tooltip). > > Cheers, > > Fabio > > On Thu, Nov 19, 2009 at 4:20 PM, vincent lapointe > wrote: >> >> Hi, >> >> >> I have the following function define in Python: >> >> def toto(a=1): >> "this is a function with a default value for argument 1" >> print a >> >> Then when working with pydev, many features of pydev don't take care of the default value. >> >> Example: >> >> 1- When typing the name of the function in the pydev console, pydev show a code completion dialog but the default argument doesn't appear. See attachment codeCompletion.bmp >> >> 2- Then when I press the carriage return key (on the completion dialog), pydev adds argument of the function without taking care of my default argument. See attachment codeCompletion2.bmp. >> >> I think I would prefer that Pydev doesn't add argument with default value when pressing return key. >> >> Also note that the tooltip that appears above the code doesn't mention the default argument >> >> 3- When I use the pydev editor, I have similar behaviours for code completion >> >> Is this feature planned in a next release? >> >> >> Thanks >> >> Vincent >> >> >> _________________________________________________________________ >> Windows Live: Keep your friends up to date with what you do online. >> http://go.microsoft.com/?linkid=9691815 >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> pydev-code mailing list >> pyd...@li... >> https://lists.sourceforge.net/lists/listinfo/pydev-code >> >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > pydev-code mailing list > pyd...@li... > https://lists.sourceforge.net/lists/listinfo/pydev-code _________________________________________________________________ Windows Live: Make it easier for your friends to see what you’re up to on Facebook. http://go.microsoft.com/?linkid=9691816 |