Summary: | [1.5][search] range wrong for package-info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> | ||||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | philippe_mulet | ||||||||
Version: | 3.1 | ||||||||||
Target Milestone: | 3.1.1 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Bug Depends on: | 99662 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
Dani Megert
2005-06-14 04:21:08 EDT
Created attachment 23034 [details]
Variables view
In fact the interface package-info should not be visible in the outliner. This is related to bug 99662. The package-info interface should not be displayed in the outliner, but the search should not report a question mark in front of the package-info. Philippe, This would be a good candidate for 3.1.1. +1 for 3.1.1 Created attachment 25603 [details] Patch to fix this issue Note that instead of using package fragment as suggested in bug 99662 comment 2, I have associated package declaration to matches returned by search. I did not use package fragment because with this model element, editor was not opened on package-info.java file while selecting match in Search view... Created attachment 25604 [details]
Test cases added to JavaSearchBugsTests
2 test cases added to verify that search matches have right associated element
while looking for annotations references but also for references inside javadoc
comments.
Patch released in HEAD stream Patches released in R3_1_maintenance stream Verified using I20050920-0010 for 3.2M2 Verified for 3.1.1 using build M20050923-1430. |