Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 174312

Summary: [assist] Exception type references completion needs improvement
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2007-02-15 10:04:15 EST
Form bug 174001 and bug 174002

When the completion token isn't empty we use searchAllTypeName API to find types name because it would be too costly to compute all the resolved informations. So we only have access to type names and don't have access to the types hierarchy.

Currently we are unable to know if these types are subclasses of an exception (bug 174001) or if these types are subclasses of a caught exception (bug 174002).

These problems should be improved.
Comment 1 David Audel CLA 2007-02-15 10:13:42 EST
Fix these problems would require a deep change in our completion engine or search engine.
This would be too much work for 3.3.

Defer post 3.3.
Comment 2 Maxime Daniel CLA 2007-03-20 06:28:58 EDT
As an additional remark, while verifying bug 174001, it occurred to me that we currently have a discontinuity in the design. A user that completes right after the parenthesis then types an 'E' gets a somewhat better proposals list (closer to a list of visible exceptions) than a user who types in 'Exc' before calling code assist. In other words, the lazy user is rewarded.
I initially wanted to open a separate bug for this topic, but I believe that this bug's title covers it.
Comment 3 Denis Roy CLA 2009-08-30 02:24:27 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.