Bug 10472 - CodeAssist - No completion between dot and number
Summary: CodeAssist - No completion between dot and number
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-28 09:22 EST by David Audel CLA
Modified: 2002-02-28 10:58 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 David Audel CLA 2002-02-28 09:22:07 EST
1) create the following class
public class X {
   void foo(){
      this.<cursor>0
   }
}
2) do ctrl+space
Nothing happen, just bing.

CompletionScanner identify '.0' as a number and throw an InvalidCursorLocation 
exception.
Comment 1 Philipe Mulet CLA 2002-02-28 10:57:58 EST
Fixed, bug was in completion scanner which didn't handle dot prefixed number 
scenario. Test added.