[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] PyGame with Eclipse PyDev - PyDev dont know return types.



On 8/30/06, Jesper Taxbøl <jesper@xxxxxxxxxx> wrote:
I am working to setup pygame to work with PyDev for Eclipse. I can make it
index the pyGame source , so some tab-completion is available. - But pyDev
seem to be clueless about the return types from pyGame.

PyDev uses some advanced type-inferencing trickery to get this stuff, and C modules don't play well with it. Try using pgame-ctypes to see if that gives you syntax highlighting. There should be a way to scan pygame-ctypes for return types and then actually use regular pygame. This isn't foolproof but it's better than nothing.

And yes, this is entirely a PyDev thing, not a pygame thing, try cross
posting to a pydev mailing list (if they have one).