I know.. :/ one last thing.. I did check the syntax and I am trying to produce the else statement with no errors.... unfortunately I already tried the if () { } else { } attempt and it keeps producing an error.I hate those missing semicolons or mismatched braces. They cause many misleading errors.
Can you choose a style, such as the Allman style? Of the two IDEs I presently use most of the time, one let's me choose that style (from among about a dozen options) and the other does a pretty good job of automatically detecting the style I am using -- not globally, but in each case as I type. Very handy, particularly once I turn of all the autocomplete crap.The Arduino IDE has an autoformat text option in the Tools sub-menu. It automatically indents your code properly.
That's a shame, but not at all surprising. An editor specific to a particular platform is generally going to have fewer bells and whistles than a more generic platform. Just the natural way of things.No, it does not allow selection of the style.