In Eclipse, in the package explorer, can I find files by name?

后端 未结 6 1784
夕颜
夕颜 2021-01-30 19:57

You know how in Eclipse\'s Preferences window (menu bar: Window --> Preferences), you have a hierarchy to browse, but you also have a text search field. And as you type into t

6条回答
  •  囚心锁ツ
    2021-01-30 20:28

    As others have mentioned, ctrl + shift + r works nicely if you have thousands of files in your project.

    Also, I would like to add the following: you can add additional folder into the existing project by the following sequence: File, new, folder. In the pop-up window, select Advanced, select Link to alternate location (Linked Folder), Browse...

    To add new file, just do: File, new, source file

    After you added the additional file or folder, then at the project root, hit F5 to refresh the project so that the new file and the new folder will be brought into the project.

    And then you can use ctrl + shift + r to also find the newly added file of the newly added folders.

提交回复
热议问题