Say, we have a constant class:
public class Constant {
...
public static final String UNIVERSAL_VARIABLE = "many classes will find me handy";
}
In AndroidStudio, if I hover to UNIVERSAL_VARIABLE and click cmd + b
, then it will show all classes where UNIVERSAL_VARIABLE are used, and on which line.
How do we do this in Eclipse?
CTRL + SHIFT + G
或右键单击引用->工作区(或项目)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.