Search in Eclipse through project

前端 未结 4 1555
时光取名叫无心
时光取名叫无心 2021-02-05 10:56

How to search in Eclipse through project for some word ? When I start CTRL-h I need to choose field, method or ...., but I need to find all occurences in project no metter metho

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-05 11:16

    CTRL + H -> File Search -> Containing Text 'some word'
    make sure the scope is set to workspace or enclosing projects. Choosing Selected Resources will narrow the result set to the folder or file you selected in the explorer.

    Further if you know the file type that might contain the text you can use the File Name patterns with values like *.php, *.phtml, *.html

提交回复
热议问题