incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Smith <>
Subject RE: Code formatting for patch submissions
Date Mon, 27 Feb 2012 18:55:19 GMT
I wrote Adobe's coding guidelines for ActionScript and I noticed a few ways in which this formatting
doesn't match what the framework's current conventions:

1. We wrap lines at 80 characters.

2. We make the first line of a multiline comment be /* or /** with no text.

3. We put an asterisk on every line of a multiline comment.

4. We line up the asterisks in a multiline comment.

5. We use two spaces after the asterisks so that the text starts at the same indent position
as code.

- Gordon Smith, Adobe

-----Original Message-----
From: Justin Mclean [] 
Sent: Sunday, February 26, 2012 2:50 PM
Subject: Re: Code formatting for patch submissions


> Which flex formatter properties file did you use to format the code 
> example you made? I sent one in a previous thread, did you use that 
> one or an Adobe one?

Just pushed the button in the preferences  marked "Set to Adobe standards". I believe it has
a couple of differences to what the "standards" are now but it's a good start.


View raw message