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

前端 未结 16 1786
执念已碎
执念已碎 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:32

    CTRL + H is actually the right answer, but the scope in which it was pressed is actually pretty important. When you have last clicked on file you're working on, you'll get a different search window - Java Search: enter image description here

    Whereas when you select directory on Package Explorer and then press Ctrl + H (or choose Search -> File.. from main menu), you get the desired window - File Search: enter image description here

提交回复
热议问题