[wingide-users] What does 'Use Indent Analysis' do?

Michael Hipp Michael at Hipp.com
Wed Jan 31 14:57:57 MST 2007


Wingware Support wrote:
> On Wed, 2007-01-31 at 15:42 -0600, Michael Hipp wrote:
>> Yes. Unfortunately some of the constructor calls in wxPython end up looking a 
>> bit like Cobol.
> 
> For new code, try the form:
> 
> myvar = MyClass(
>   x,
>   y,
>   z
> )
> 
> Wing will recognize there's nothing after the ( and indent just an added
> level rather than past the (.

Ah, thanks! I use that form all the time when building sequences, but never 
thought to use it for class calls.

Many thanks,
Michael



More information about the wingide-users mailing list