Issue Details (XML | Word | Printable)

Key: FDT-1718
Type: Improvement Improvement
Status: Confirmed Confirmed
Priority: Minor Minor
Assignee: FDT Team
Reporter: Tadhg McCarthy
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
FDT

Allow a custom amount of white space of after type separator.

Created: 14/Dec/10 11:36 AM   Updated: 13/Jan/16 10:49 AM
Component/s: Formatter
Affects Version/s: FDT 5.0
Fix Version/s: FDT
Security Level: public

Time Tracking:
Not Specified

Review Type: Review by Product Owner


 Description  « Hide
Many developers including myself, like to format our types aligned to each other for easier reading. However when auto-formatting, the white space after the type separator is eaten.

e.g.

// --------------------------------------------------------------------------
// Instance Properties
// --------------------------------------------------------------------------
private var bioOpenButton 					: MovieClip;
private var storyTitle 						: MovieClip;
private var storySynopsis 					: MovieClip;
private var bioBack 						: MovieClip;
private var bioCloseButton 					: MovieClip;
private var characterBio 					: MovieClip;
private var characterBioManager 				: CharacterBioManager;

After auto-formatting becomes:

// --------------------------------------------------------------------------
// Instance Properties
// --------------------------------------------------------------------------
private var bioOpenButton : MovieClip;
private var storyTitle : MovieClip;
private var storySynopsis : MovieClip;
private var bioBack : MovieClip;
private var bioCloseButton : MovieClip;
private var characterBio : MovieClip;
private var characterBioManager : CharacterBioManager;


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Alan K (Deprecated) added a comment - 07/Apr/11 08:22 PM
I'm going to link this to the preferences ticket I've been creating so it's not lost.

Thanks for the comment / idea.