2

I get duplicate findings when searching for a class or its references (Ctrl+Shift+T or Ctrl+Shift+G): the .java file from my open projects and the .class file from Maven Dependencies (.m2\repo jars):

+ com.commonbackoffice - server-utils-commonlogin-0.1.jar - C:\Users\...\.m2\repository\com\commonlogin\0.1 - server-login
+ com.commonbackoffice - src/main/java - server-utils-commonlogin

How can I hide the .class findings from these results?

Keshan Nageswaran
  • 8,060
  • 3
  • 28
  • 45
ftkg
  • 1,652
  • 4
  • 21
  • 33

1 Answers1

0

You can try this:

Go to Project > Properties > Resource > Resource Filters

Click Add Filter...

Filter type:

Exclude all
Applies to:

Folders
Check All children (recursive)
Filter Details:

Name
Matches
Type in the text box: target

There are a lot of ways, you can check this links: here and there

Community
  • 1
  • 1
developer_hatch
  • 15,898
  • 3
  • 42
  • 75