Wow. I guess Flex IS dead. Nobody's home.
1 person found this helpful
Hi, Amy -
I'm not sure if I've understood the question fully. But, I think, you can do it by editing code templates. For example, open the Preferences dialog box, and select Flash Builder > Editors > Code Templates > ActionScript. Then select, say, the function template, and click Edit. In the Edit Template dialog box, you can edit the template to use cuddled braces.
Let me know if this is not what you were looking for.
Flash Builder Community Help & Learning
Adobe Systems Incorporated
No, what I want is that I can use Ctrl-Shift-F and it will format new Classes that FB creates for me to have cuddled braces. There doesn't seem to be a template exposed for that, and when a Class implements an interface, that can be a lot of braces to go back and fix by hand. I found this answer here http://forums.adobe.com/message/3850505 (that I had forgotten about) that suggests that there should be a "New Actionscript Class" template, but no such template exists in my installation. It's like FB is pulling this out of thin air, and there's no way to tell it how you want it.
Wow! I just found this by accident. I was looking next to the other templates (under Flash Builder>Editors>Code Templates). I've been misreading the path!