Issue Details (XML | Word | Printable)

Key: FDT-1003
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: FDT Team
Reporter: Jerome
Votes: 2
Watchers: 1

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

Create setter improvement

Created: 25/Jun/10 02:06 PM   Updated: 22/Jun/12 06:42 PM
Component/s: Editor (Deprecated)
Affects Version/s: FDT 4.5.2
Fix Version/s: FDT
Security Level: public

Time Tracking:
Not Specified

Environment: FDT 3, 3.5, 4

Review Type: Review by Product Owner

 Description  « Hide
When you generate a setter for :

private var _myVar:Number;

FDT create :

public function set myVar( myVar:Number ):void
_myVar = myVar;

It's really better to have this (common convention style) :

public function set myVar( value:Number ):void
_myVar = value;

Perhaps an option in the settings ?
Thanks !

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Alan K (Deprecated) added a comment - 23/May/12 06:49 PM
FDT 5.5 has improved these quick fixes a great deal. Please check it out and let us know.