Bug 479444 - When selection is on a field, suggest operation to add initialization to constructor
Summary: When selection is on a field, suggest operation to add initialization to cons...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 11:32 EDT by Mickael Istria CLA
Modified: 2015-10-09 11:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2015-10-09 11:32:17 EDT
When editing a Java type, with selection on a field, JDT could suggest -probably in the Source menu- to add the initialization of this field through a new constructor parameter.
For example, on field foo, that operation would add "foo" as a constructor parameter, and add the line this.foo = foo.

This is inspired from IntelliJ.