Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 239587

Summary: "Create getter and setter" quick fix does not use code templates
Product: [Eclipse Project] JDT Reporter: Marcus Ilgner <mail>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Marcus Ilgner CLA 2008-07-04 05:45:53 EDT
Build ID: I20080207-1530

Steps To Reproduce:
1. Specify some custom template for getter and/or setter in Preferences->Java->Code Style->Templates
2. add some field to a bean of your choice
3. use the "Create getter and setter" quick fix on the new field
4. the new code does not conform to the defined templates
Comment 1 Dani Megert CLA 2008-07-07 12:14:12 EDT
Works for me using Eclipse R3.4.
Comment 2 Marcus Ilgner CLA 2008-09-02 07:08:32 EDT
I tried with another project today and found that it did work. Maybe it was some other setting that caused the problem.