Community
Participate
Working Groups
Build Identifier: Build id: I20091210-1301 I'd like the possibility of searching all the currently opened files (a common use-case I have is that I start working on a task and add a number of print statements or other debug related things and before I do commit anything I want to remove those). I think a nice option would be that the find/replace dialog (ctrl+f) had the option to 'cycle open documents' when the 'wrap search' option is specified (or a scope 'open documents). A secondary option would be having the default search (ctrl+h) have an additional scope for open documents. A different approach might be having it related to the files to be committed, but I think that would be complementary as I can go to the synchronize view and just open all those files (and would need an API to get the changed files -- which may be more work to implement as it'd need the adoption of version control implementors) If this has the possibility of being accepted, I can write a patch for it (hopefully for 3.6m6). Reproducible: Always Steps to Reproduce: Try to search in currently opened files.
See bug 92178 for reasons why we don't offer this in Search. Changing it in Find/Replace isn't a good idea either as this traditionally (not just in Eclipse) only looks in the current editor. What you're looking for is already possible now: 1. choose Flat presentation in the Synchronize view 2. select all 3. search in selected resources *** This bug has been marked as a duplicate of bug 92178 ***