Eclipse: Java, see where class is used

前端 未结 2 756
-上瘾入骨i
-上瘾入骨i 2021-01-30 05:04

Is there a way in Eclipse to select a Java class, and then bring up a list of all Java files where that class is used within a project?

相关标签:
2条回答
  • 2021-01-30 05:26

    Put the cursor on the class name (works for methods, constructors, fields, etc, too), press Ctrl+Shift+G and enjoy.

    0 讨论(0)
  • 2021-01-30 05:44

    right-click on the class, and select references/Project

    For searching all of the workspace, CTRL+SHIFT+G

    0 讨论(0)
提交回复
热议问题