Bug 114341 - [javadoc][assist] range of the qualified type completion in javadoc text isn't corect
Summary: [javadoc][assist] range of the qualified type completion in javadoc text isn'...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 06:58 EST by David Audel CLA
Modified: 2005-12-13 06:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2005-10-31 06:58:32 EST
build I20051031-0010

1) create X.java
public class X {
  /**
   * Toto.Tat|
   */
  void foo() {}
}
class Toto {
  class Tata {}
}

2) do ctrl + space at | location
3) select {@link Tata}

the result isn't correct because the qualification is not inside the link tag.
 /**
   * Toto.{@link Tata}
   */
Comment 1 Frederic Fusier CLA 2005-11-04 11:07:25 EST
Fixed and released in HEAD.

Source range for completion includes now qualification while completing in
javadoc text.

Test cases #testBug114341* added in JavadocBugsCompletionModelTest.
Comment 2 Jerome Lanneluc CLA 2005-12-13 06:34:54 EST
Verified for 3.2 M4 using build I20051213-0010
(However a wrong import is added in this scenario. Entered bug 120541)