Bug 5884

Summary: Code assist should only fully qualify if needed
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: daniel_megert
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2001-11-14 08:20:23 EST
If I use code assist in an anonymous inner type then the proposal is fully
qualified even if this is not necessary. This is really annoying since the ful 
qualification is 99% of the time not needed. Please make this an option or do 
only fully qualify if the qulification is needed. Example:

class A {
  Object element;
  public void m {
    Runnable runnable= new Runnable() {
      public void run() {
        element<code assist> produces A.this.element   
      }
    }
  }
}
Comment 1 Philipe Mulet CLA 2001-11-14 10:22:43 EST
*** Bug 5885 has been marked as a duplicate of this bug. ***
Comment 2 David Audel CLA 2001-11-21 09:06:09 EST
When forceImplicitQualification is enabled, proposal is fully qualified.
When forceImplicitQualification is disabled, proposal is fully qualified only 
if needed.

Fixed.
Comment 3 Philipe Mulet CLA 2001-11-29 09:24:55 EST
*** Bug 5454 has been marked as a duplicate of this bug. ***