Summary: | Declaration for package not found if scope is not project | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dani Megert <daniel_megert> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Dani Megert
2002-04-16 13:19:06 EDT
The scope defines the elements that enclose the search results. So do you consider that junit.framework encloses junit.framework? Yes I do and normally Java Model does apply the same rules i.e. if I add a type to the scope this type is then found if looking for its declarations. You're right. Thanks for pointing this out. Fixed JavaSearchScope.encloses(IPath) so that it accepts the case where the given path is equal to one of the paths of the scope's resources. |