Issue Details (XML | Word | Printable)

Key: FDT-549
Type: Improvement Improvement
Status: Confirmed Confirmed
Priority: Major Major
Assignee: FDT Team
Reporter: Nico Zimmermann
Votes: 4
Watchers: 1
Operations

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

Create Class Quickfix should add constructor arguments and imports

Created: 19/Jun/09 10:45 AM   Updated: 22/Jun/12 06:42 PM
Component/s: UI
Affects Version/s: FDT 4.5.2
Fix Version/s: FDT
Security Level: public

Time Tracking:
Not Specified

Review Type: Review by Product Owner


 Description  « Hide
var a : Foo = new Foo(1, this); // use create class QF

Expected:

class Foo {
	public function Foo(i : int, main : Main) ....
}


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Gary Burgess added a comment - 23/Jun/09 05:00 PM
It would be nice if there was a "Create constructor" QF too, assuming the class doesn't already have one.

Alan K (Deprecated) added a comment - 29/Jun/09 03:20 PM - edited
I don't often do this, but it would be very, very helpful. If I'm writing code and I plan to create a class, I may want in to inject my dependencies into that class via the constructor.