arabian_albert
arabian_albert

Reputation: 708

How to search eclipse for a particular statement or line of text

I need to replace a library import from my Java classes in src/main/java and in src/test/java how can I search to find which classes use the old library from eclipse?

Example:

I want to search all classes across all my projects which contain the following string:

import de.oio.jpdfunit*

the " * " is wildcard character so I can replace it with:

import de.ga.pdfGenerator

I tried cmd+shift+t and that doesn't help,

Upvotes: 2

Views: 706

Answers (1)

Youssef Lahoud
Youssef Lahoud

Reputation: 529

You can search using File Search which can find even string texts:

enter image description here

enter image description here

Upvotes: 2

Related Questions