在搜索类或其引用时(Ctrl+Shift+T或Ctrl+Shift+G)时,我得到重复的结果:我打开的项目中的.java文件和Maven依赖项(.m2\repo jar)中的.class文件:
+ 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
如何从这些结果中隐藏 .class 结果?
最佳答案
你可以试试这个:
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
关于java - 在 Eclipse 中搜索类型/引用时如何隐藏 Maven 依赖项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44054274/