As far as I've found, what you're looking for is not possible without a stubs (.pi) file that has all of the possible commands, and short of a manual rewrite or (possibly) a script to parse every single command's help docs (which of course depends on those being up to date) I don't believe such a thing exists. Even if it did, I don't know how well an IDE that understands Python would handle this, as it expects you to follow a specific argument order if you are inputting arguments in this form. I could be wrong though, as I've only been using python for about a year at this point.

Keyword arguments are read by python as a dictionary, and it is up to the module or class to process them--they are not explicitly listed in the function headers, unfortunately.

With that said, if such a thing does exist, I would LOVE to see it :)

On 1/8/2013 7:29 PM, Count Zer0 wrote:
On Tuesday, January 8, 2013 11:22:38 AM UTC-8, Boban Joksimoski wrote:
Hi,

i installed eclipse and wing IDE and I was trying to get autocomplete for 
arguments in functions (e.g. when I type cmds.ls() i want the documentation in 
wingide to show all the argiments in source assistant). I made the autocomplete 
of functions and that works OK, but the arguments are always *argv and **kargv.

I want to do this for python in Maya (i don't wana use PyMel)

Thanks in advance,
Boban
You followed these instructions, right?:

http://christianakesson.com/2010/3366


--
You received this message because you are subscribed to the Google Groups "Python 
Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to