mercredi 11 mars 2015

How can i find where a method or a variable is used in Android Studio (shortcut)



I know how to find the source by maintaining ctrl + left click on a method for example , but if i want to search where did this method is used ?


Lets support i have the following method :



class A{
public int sum(int a, int b){
return a+b;
}
}


and i'am using this method in



class B{
...
sum(c+d);
...
}


and i want to find where i used sum while i was in class A.


PS : i'am new to Android studio (started using it like a month ago)


edit : i'm using Windows 7


Thanks !




Aucun commentaire:

Enregistrer un commentaire