如何在 Eclipse 中搜索所有打开的文件?

2022-01-20 00:00:00 ide development-environment eclipse

简单问题:如何搜索当前在 Eclipse 中打开的所有文件?注意:我不想搜索该工作区中的所有文件,只搜索选项卡中打开的文件.有没有简单的方法可以做到这一点?

Simple question: how do I search all the files currently open in Eclipse? Note: I don't wanna search all the files I have in that workspace, just the ones open in tabs. Is there an easy way to do this?

推荐答案

最接近的方法是在 Navigator 或 Package Explorer 视图中选择多个资源,然后按 Ctrl+H 并选择Selected Resources"单选按钮.它将仅搜索选定的文件.

Closest way is selecting several resources in Navigator or Package Explorer view, then press Ctrl+H and choose 'Selected Resources' radio button. It will limit search only to selected files.

相关文章