Bug 94907

Summary: [assist] missing keyword completions for generic signatures
Product: [Eclipse Project] JDT Reporter: Tom Hofmann <eclipse>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: christof_marti
Version: 3.1   
Target Milestone: 3.1 RC2   
Hardware: PC   
OS: All   
Whiteboard:

Description Tom Hofmann CLA 2005-05-12 04:28:40 EDT
I20050509-2000 (M7 test pass)

not sure whether I filed these already, but could not find them...

The following keyword completions are missing (| == caret).

-----

class X<T e|       // extends

-----

class X {
    List<? e|>     //  extends, super (also in method parameter
    List<? s|>     //  and local variable declarations)
}

-----

class X<T> e|      // implements, extends (normal supertype keywords
class X<T> i|      // don't work after generic signature

-----
Comment 1 Philipe Mulet CLA 2005-06-03 09:48:34 EDT
+1 for RC2
Comment 2 David Audel CLA 2005-06-03 10:01:19 EDT
-----

class X<T e|       // extends

-----

class X {
    List<? e|>     //  extends, super (also in method parameter
    List<? s|>     //  and local variable declarations)
}

-----

Fixed in bug 85384, bug 93119, bug 96918


-----

class X<T> e|      // implements, extends (normal supertype keywords
class X<T> i|      // don't work after generic signature

-----

Added a fix for this one.
  GenericsCompletionParserTest#test0196() -> test0201()
  CompletionTests_1_5#test0237() -> test0242()
Comment 3 Olivier Thomann CLA 2005-06-06 15:12:33 EDT
Verified using N20050606-0010 + JDT/Core HEAD
Comment 4 Olivier Thomann CLA 2005-06-10 12:17:53 EDT
Verified in I20050610-0010