[Pydev-code] Default argument values in Code completion
Brought to you by:
fabioz
From: vincent l. <lap...@ho...> - 2009-11-19 18:21:02
|
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 |