Issue Details (XML | Word | Printable)

Key: FDT-2495
Type: Bug Bug
Status: Closed Closed
Resolution: none
Priority: Major Major
Assignee: FDT Team
Reporter: Panel
Votes: 0
Watchers: 1
Operations

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

Blank before\after type separator formating is ignorred when converting local variable to a field

Created: 15/Dec/11 10:43 PM   Updated: 03/Dec/13 01:47 PM
Component/s: Formatter, Quick Fix / Assist
Affects Version/s: FDT 5.0
Fix Version/s: FDT 5.6
Security Level: public

Time Tracking:
Not Specified

Review Type: Review by Product Owner


 Description  « Hide
Before
package
{
	import flash.display.Sprite;
	
	public class Sample extends Sprite
	{
		public function Sample()
		{
			var age:Number = 5;
		}
	}
}

After local variable to a field

package
{
	import flash.display.Sprite;
	
	public class Sample extends Sprite
	{
		//Blank before\after type separator is added although this option isn't 
		//selected in code style
		private var age : Number; 
		public function Sample()
		{
			age = 5;
		}
	}
}


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Panel added a comment - 15/Dec/11 11:04 PM
Same bug for
Extract to constant

Panel added a comment - 13/Jan/12 03:42 PM
small bug, but quite annoying because code becomes not consistent across application

Panel added a comment - 10/Apr/13 08:47 PM
It would be nice to have this fixed

FDT Team added a comment - 03/Dec/13 01:47 PM
Fixed for next release: 3. December