Search for all files in project containing the text 'querystring' in Eclipse

前端 未结 4 1250
囚心锁ツ
囚心锁ツ 2020-12-07 10:14

I work in Dreamweaver and Eclipse when developing. I think Dreamweaver has a really nice search where you can search for text within all files of your current project.

相关标签:
4条回答
  • 2020-12-07 10:41

    Ctrl+shift+L opens the Quick text search window

    0 讨论(0)
  • 2020-12-07 10:53

    Just noticed that quick search has been included into eclipse 4.13 as a built-in function by typing Ctrl+Alt+Shift+L (or Cmd+Alt+Shift+L on Mac)

    https://www.eclipse.org/eclipse/news/4.13/platform.php#quick-text-search

    0 讨论(0)
  • 2020-12-07 10:54

    press Ctrl + H . Then choose "File Search" tab.

    additional search options

    search for resources: Ctrl + Shift + R

    search for Java types: Ctrl + Shift + T

    0 讨论(0)
  • 2020-12-07 10:59

    Yes, you can do this quite easily. Click on your project in the project explorer or Navigator, go to the Search menu at the top, click File..., input your search string, and make sure that 'Selected Resources' or 'Enclosing Projects' is selected, then hit search. The alternative way to open the window is with Ctrl-H. This may depend on your keyboard accelerator configuration.

    More details: http://www.ehow.com/how_4742705_file-eclipse.html and http://www.avajava.com/tutorials/lessons/how-do-i-do-a-find-and-replace-in-multiple-files-in-eclipse.html


    (source: avajava.com)

    0 讨论(0)
提交回复
热议问题