Bug 23307

Summary: Refactoring and Search are applied only on open files
Product: [Eclipse Project] JDT Reporter: Humberto Francisco Soares <hsoares>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.1   
Target Milestone: 2.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.