Bug 5884 - Code assist should only fully qualify if needed
Summary: Code assist should only fully qualify if needed
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5454 5885 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-14 08:20 EST by Dirk Baeumer CLA
Modified: 2002-01-11 09:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***