Is there a way how to search a file or class (I mean by Ctrl + Shift + T or R) only in some particular project and not in all workspace?I have Eclipse Indigo.
On Menu
of Ctrl + Shift + T or R
dialogue Small down
arrow on extreme right use option Select Working Set
then set the working set and you are done now you can only search files from selected working set.
Ctrl + Shift + T Or R
>Menu
>Select Working Set
>New
>Java
>Add Or Add All
>Click on Selected Working set in Select Working set Dialog
>Select Working set and you are done.
Select the project in project explorer -> Ctrl + H -> File Search Tab -> enter file name in containing text -> Check Selected Resources under Scope.
One more trick -> if you want to search only from *.java files then in File name patterns text box in the same File Search Tab enter *.java or *.props. This will filter out for you
Click on file search select enclosing projects under the subcategory 'scope'. this will enable you to search inside a specific project
For that you have the Search menu. You could use Search > File or Search > Java for that. In the search dialog, you can restrict the search scope as only the selected project, or as a predefined working set, as long as some additional options.
© 2022 - 2024 — McMap. All rights reserved.