Eclipse: Java, see where class is used

前端 未结 2 814
-上瘾入骨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.

提交回复
热议问题