如何在Eclipse中搜索项目中的所有文件
根据我的一本书(“Eclipse for Minor Geniuses”或类似的书),您可以通过选择一组文件然后选择搜索 | 来搜索它们。文件。
即使我选择了“选定资源”单选按钮,这对我也不起作用。相反,它会搜索 Package Explorer 中的每个文件,其中包含多个项目,包括 Android APIDemo(大规模)。
有没有办法选择项目中的所有文件(而不是依次单击所有文件),然后将搜索操作仅限于这些文件?
According to a book I have ("Eclipse for Minor Geniuses" or something like that), you can search a set of files by selecting them and then choosing Search | Files.
This does not work for me, even when I have the "Selected Resources" radio button selected. Instead, it searches through every file in the Package Explorer, which contains several projects, including the Android APIDemo (massive).
Is there a way to select all the files in a project (other than clicking them all in turn) and then limiting the Search operation to those files only?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当我仅选择包树中的项目节点并选择“选定资源”单选按钮时,它会在我的 Eclipse 版本中搜索该项目的所有文件。
您还可以选择项目中的任意文件,然后选择“封闭项目”。
When I select just the project node in the package tree and choose the "Selected Resources" radio button, it searches all the files of the project in my version of Eclipse.
You can also select an arbitrary file in a project, and choose "Enclosing project".
不确定这是否是您正在寻找的内容,但可以创建一些工作集,然后仅搜索该工作集。
Not sure if this is what you're looking for, but it's possible to create some working sets and then search through that working set only.
*.jsp、scr
*.jsp, scr