Does a “Find in project…” feature exist in Eclipse IDE?

前端 未结 16 1731
执念已碎
执念已碎 2020-11-30 16:21

Does Eclipse have a way to search a whole project for some text like Xcode\'s \"find in project\" feature?

相关标签:
16条回答
  • 2020-11-30 16:49

    First customize your search dialog. Ctrl+H. Click on the Customize button and select inly File Search while deselecting all the others. Close the dialog.

    Now you can search by selecting the word and hitting the Ctrl+H and then Enter.

    0 讨论(0)
  • 2020-11-30 16:50

    You should check out the new Eclipse 2019-09 4.13 Quick Search feature

    The new Quick Search dialog provides a convenient, simple and fast way to run a textual search across your workspace and jump to matches in your code.

    The dialog provides a quick overview showing matching lines of text at a glance.
    It updates as quickly as you can type and allows for quick navigation using only the keyboard.

    A typical workflow starts by pressing the keyboard shortcut Ctrl+Alt+Shift+L
    (or Cmd+Alt+Shift+L on Mac).
    Typing a few letters updates the search result as you type.
    Use Up-Down arrow keys to select a match, then hit Enter to open it in an editor.

    0 讨论(0)
  • 2020-11-30 16:50

    Search and Replace'

    Ctrl + F Open find and replace dialog

    Ctrl + F / Ctrl + Shift + K Find previous / find next occurrence of search term (close find window first).

    Ctrl + H Search Workspace (Java Search, Task Search, and File Search).

    Ctrl + J / Ctrl+Shift +J Incremental search forward / backwards. Type search term after pressing Ctrl+J, there is now search window Ctrl+shift+O Open a resource search dialog to find any class

    0 讨论(0)
  • 2020-11-30 16:52

    Ctrl + H is the best way! Remember to copy the string before you start searching!

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