[wingide-users] Tab after else

Wing IDE Support support at wingware.com
Thu Feb 2 09:06:27 MST 2012


On 2/2/12 3:39 AM, Musaab wrote:
> For some reason, after I enter an if statement, I can't tab after else...
>
> for example:
>
>      if choice == "1":
>          playerClass = "Fighter"
>      elif choice == "2":
>          playerClass = "Rogue"
>      elif choice == "3":
>          playerClass = "Wizard"
>      else
>      playerClass = "Fighter"
>
> I can't tab the last line.  Wing IDE won't let me.  Any idea why?

Your tab behavior seems to be set to indent to match and Wing is not 
indenting because there's no : ending the prior line.  Wing could indent 
because of the else without a : but not indenting is a signal that 
there's something wrong with the prior line.

Cheers,

John


More information about the wingide-users mailing list