Bug 23307 - Refactoring and Search are applied only on open files
Summary: Refactoring and Search are applied only on open files
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-08 11:55 EDT by Humberto Francisco Soares CLA
Modified: 2002-10-28 08:50 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 Humberto Francisco Soares CLA 2002-09-08 11:55:51 EDT
The refactoring and the search tools are only reaching the classes that are 
opened to edit. If there is a reference to the class A in a class B, but this 
class B is not open to edit, then the refactoring and search will not see this 
reference.

It seems that the workspace is limited to the open files.

This behaviour was not happening from the first.  But I don't remember an 
event that could cause the problem.
Comment 1 Philipe Mulet CLA 2002-09-19 08:41:10 EDT
No, this shouldn't be the case. What happens is that the JavaModel actions are 
now aware of possible editors with unsaved changes (shared working copy 
notion), but other units are still visible.

Do you have steps to reproduce ? We aren't aware of such an erroneous behavior.
Comment 2 Philipe Mulet CLA 2002-10-28 08:50:27 EST
Closing, please reopen if steps can be described.