Issue Details (XML | Word | Printable)

Key: FDT-3031
Type: Improvement Improvement
Status: Confirmed Confirmed
Priority: Minor Minor
Assignee: FDT Team
Reporter: Panel
Votes: 0
Watchers: 0
Operations

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

Extract all declarations when using split local variable declaration quick fix

Created: 24/Jan/13 03:58 PM   Updated: 20/Jan/16 03:54 PM
Component/s: Quick Fix / Assist, Refactoring
Affects Version/s: FDT
Fix Version/s: FDT
Security Level: public

Time Tracking:
Not Specified

Review Type: Review by Product Owner


 Description  « Hide
Example 2 before extraction
var array:Array = [];
			
for (var i:uint = 0; i < array.length; i++) 
{
// more code...
}
			
for (var i:uint = 0; i < array.length; i++) 
{
// more code...
}
Example 2 after extraction results
var array:Array = [];
var i:uint;

for (i = 0; i < array.length; i++) 
{
// more code...
}
			
for (var i:uint = 0; i < array.length; i++) 
{
// more code...
}
Example 2 after extraction expected results
var array:Array = [];
var i:uint;

for (i = 0; i < array.length; i++) 
{
// more code...
}
			
for (i = 0; i < array.length; i++) 
{
// more code...
}


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.