Bug 14132 - [javadoc][assist] JavaDoc code assist on after @see may propose super method when overriding
Summary: [javadoc][assist] JavaDoc code assist on after @see may propose super method ...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 12:50 EDT by Erich Gamma CLA
Modified: 2007-06-21 09:37 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2002-04-18 12:50:18 EDT
JUnit smoke test setup:
Type @see <code assist>

Code assist inserts TestCase automatically. This is not correct there are many 
more types available to choose from.

Typing @see T<code assist> shows the correct proposals.

Not critical, but should understand what is going on here.
Comment 1 Martin Aeschlimann CLA 2002-04-22 06:19:22 EDT
Same behaviour when doing code assist in

public class A {
  | code assist here
}

many methods offered, but only one type.
correct would be to show all types, but as this mught be too expensive, no 
types at all is ok. but only one type is stange.
Comment 2 Philipe Mulet CLA 2002-04-23 05:34:26 EDT
We limitate to certain types (toplevels and members) in this compilation unit.
Moving to later for further concerns.
Comment 3 Frederic Fusier CLA 2005-08-25 06:50:36 EDT
Reopen to reassign
Comment 4 Frederic Fusier CLA 2005-09-19 04:39:44 EDT
Here, we have to deal with a completion on empty token on type reference.
As in this case completion engine works the same in javadoc than in java code
(and this will not change even after transfer to JDT/Core), fix will highly
depend on bug 102875 fix...
Comment 5 Frederic Fusier CLA 2005-10-11 05:03:30 EDT
One proposal which may be specific to completion in Javadoc might be to propose
overridden method while completing in an overriding method.

For example:
class X {
  void foo() {}
}
class Y extends X {
  /**
   * @see |
   */
  void foo() {}
}

Then code assist may propose "foo() - X" and insert:
* @see X#foo()
in this case...
Comment 6 Frederic Fusier CLA 2006-03-30 08:22:35 EST
Defer post 3.2
Comment 7 Frederic Fusier CLA 2007-06-21 09:34:03 EDT
Reopen as LATER is deprecated...
Comment 8 Frederic Fusier CLA 2007-06-21 09:36:38 EDT
bug 102875 was fixed but didn't help for this bug as it was only for local types...