在Eclipse中,我可以对变量进行参考搜索,这样我就可以看到所讨论的变量已被加入/修改过的每个地方.有没有办法让我快速查看有问题的变量被修改的位置?(代码库很大......)
举个例子,
static public int test;
public static void main(String[] args)
{
test = 4;
if (test > 5) doNothing();
}
Run Code Online (Sandbox Code Playgroud)
我只希望搜索向我显示行test = 4;,而不是if测试.
| 归档时间: |
|
| 查看次数: |
117 次 |
| 最近记录: |