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

Re: [pygame] good IDE?



Guess this question has been here before, but are there any real
suitable IDE's for developing Pygame apps? I would really enjoy one
with code completition etc, improves my learningcurve ;)

The best code completion code completion (for attributes)I have seen so far is the one in WingIDE. Because Python is totally dynamic, it is hard to determine the current type of identifiers by a purely statical analysis. WingIDE is quite good at analysing your code.

if isinstance(thing, SomeClass):
SomeClass.
^^^^^^^

Here it would pop up a box listing attributes of SomeClass, including member variables if they have been set with self.something = ...

However, WingIDE doesn't show call tips for arguments to functions and the editor kind of sucks in spite of being based on Scintilla. You can't dedent with backspace, only with ctrl-tab, things like deleting/transposing entire lines etc. don't work. And the code completion seems not to work with modules that were written in C -- therefore there isn't that much help for pygame. Finally the interface is pretty ugly and clutters your desktop with a plethora of annoying windows.

OTOH the code completion generally is very sweet, it includes a robust class browser and debugger, that also works fine with pygame or gui toolkits.

Unfortunately, WingIDE is commercial. Though they apparently give free licenses to open source developers.

Max