Issue Details (XML | Word | Printable)

Key: FDT-1199
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: FDT Team
Reporter: Eric Priou
Votes: 0
Watchers: 0
Operations

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

Construtor template fails to create private class's one

Created: 30/Aug/10 04:04 PM   Updated: 22/Jun/12 07:01 PM
Component/s: Formatter
Affects Version/s: 4.0 Milestone 4
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. Screen shot 2010-09-02 at 15.43.43.png
(18 kB)

2. Screen shot 2010-09-02 at 15.43.50.png
(15 kB)

3. Screen shot 2010-09-02 at 15.44.37.png
(25 kB)
Environment:
OSX 10.6.4
FDT4 m4


 Description  « Hide
When using the constructor template on a new private class (class outside of the package), the formatter creates a method with the name of the class located in the package.
package
{
	class Outer{}
}

class Inner{}

In this example, the template will create :

public function Outer(){}
inside Inner class declaration.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Plank added a comment - 02/Sep/10 02:51 PM
Both the construtor template as well as the autocompletion for inserting the constructor of the Inner class works fine for me.
See screenshots.

Please give me more hints to reproduce this issue.
Thx


Eric Priou added a comment - 02/Sep/10 05:38 PM
Yes you're right.
That works for me now also.

The example I send you wasn't the one I used at the time.
And I can't remember exactly the way it was written (I thouhgt it was a template bug only)

So close this one.
Maybe some other day ?!