FlexFormatter has an option that will add the missing curly braces. to enable: Flex Formatter > Actionscript > tweaks > pre-formatting options > select "add always" or "add smart"
Missing Curly Braces bothers me to no end. > One thing I'd argue changing is code like this: > > if (some condition) > a = 1; > else > b = 2; > > While it's compact the missing braces can (and often do) cause bugs when > the code is modified. > > Thanks, > Justin > >