KJW
KJW

Reputation: 15251

Eclipse: Searching for a string in selected packages?

How do you search for a string in classes in multiple selected packages?

Search multiple strings in eclipse seems to search for the entire workspace, I would like to just search in selected packages.

Upvotes: 8

Views: 5983

Answers (2)

Search -> File Search -> Working Set -> New -> Java -> And from the selected project(s) add the package(s) you want to search in.

Upvotes: 6

Thomas
Thomas

Reputation: 88757

Well, you could do the same but set the scope to "selected resources" (don't forget to select the packages).

Upvotes: 6

Related Questions