Bug 52025 - Code assist should have "create Property" feature
Summary: Code assist should have "create Property" feature
Status: RESOLVED DUPLICATE of bug 41542
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 18:37 EST by Paul Smith CLA
Modified: 2004-02-18 05:06 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Smith CLA 2004-02-13 18:37:31 EST
You already have a "Create Method" code assist feature which is extremely handy, 
but I would think that having a "Create Property" assist feature would be iceing 
on the cake.

e.g. if you type:

myObject.setSomeNewProperty("hello world");

It would be great if the code assist recognized this as a potential new property 
rather than just a method, and if selected, go and create the matching 
getter/setter and private field.

Gosh, this is something I wish I could do a lot, I can't be the only one can I?
Comment 1 Philipe Mulet CLA 2004-02-17 13:02:09 EST
Looks like regular templates to me. A first codeassist to find existing 
elements in code, then if nothing is found could infer something based on such 
rules.

Moving to UI for further consideration
Comment 2 Martin Aeschlimann CLA 2004-02-18 05:06:27 EST
might make sense to implements as quick fix. I mark it as dup of bug 41542, as I
would solve the two issues together (not exactly a dup, I know)

*** This bug has been marked as a duplicate of 41542 ***