Bug 4964 - Automatic Code Assist needs to be smarter
Summary: Automatic Code Assist needs to be smarter
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-14 17:59 EDT by Carolyn MacLeod CLA
Modified: 2001-12-19 06:16 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 Carolyn MacLeod CLA 2001-10-14 17:59:54 EDT
Build 204

While writing SWT code, I type the following:

   button.dispose

At this point, I do not realize that the code assist list is up because I am 
not looking. There are 2 items in the list now:
   DISPOSED   int - Widget
   dispose()  void - Widget

I then type "(" because the line I was typing was supposed to be:

   button.dispose();

But as soon as I type the "(" then automatic code assist seems to insert 
whatever is selected. Since DISPOSED is first in the list and is selected, I 
ended up with:

   button.DISPOSED

which isn't even close to what I want, and I have to delete it all and start 
again, paying more attention this time.

Code assist should notice that I have typed a ( and that this matches "dispose
()" far better than "DISPOSED".  Either that, or it needs to be case sensitive 
when it is automatically inserting stuff.
Comment 1 Kai-Uwe Maetzel CLA 2001-12-19 06:16:09 EST
Although content assist is not case sensitive, the described scenario will no 
longer happen. Build 20011218.