Bug 27994 - Code Assist replace mode inconsistent
Summary: Code Assist replace mode inconsistent
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 98
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-09 22:15 EST by David Wegener CLA
Modified: 2003-03-04 11:07 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Wegener CLA 2002-12-09 22:15:25 EST
Platform Win98
Version: 2.1
Build id: 200212041234

With 'Insert completion' unchecked for Java->Editor->Code Assist:

String s;
s.charAt();

If cursor is immedietly after the '.' Code Assist doesn't hilight anything and 
gives list of all possible completions on ctrl->space.  Selecting an item 
performs an insert without removing the charAt.

If cursor is immedietly after the 'c' in charAt Code Assist hilights 'harAt' in 
red text on yellow background and only pulls up completions beginning 
with 'C'.  Selecting an item replaces the hilighted 'harAt' with selected 
method name.

It seems as though replace behave the same way in either case.
Comment 1 Kai-Uwe Maetzel CLA 2002-12-13 07:30:46 EST
We don't get any replace information from the content assist engine when being 
right behind a dot. Moving to core.
Comment 2 Philipe Mulet CLA 2002-12-13 12:12:00 EST
Seems like we should consider this scenario as legite.
Comment 3 David Audel CLA 2003-02-19 07:21:14 EST
Fixed.
Comment 4 David Audel CLA 2003-03-04 11:07:37 EST
Verified.