Search multiple strings in eclipse

爷,独闯天下 提交于 2019-12-18 11:05:18

问题


I need to search throughout the work-space for all files containing "String1" or "String2".How to achieve this in eclipse search ?


回答1:


Search -> File... In Containing text enter String1|String2 and check Regular expression. As scope you have to select Workspace




回答2:


If you "pin" a search and open a new search window, the results from both searches will be highlighted throughout.



来源:https://stackoverflow.com/questions/7482688/search-multiple-strings-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!