Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SublimeText: Find where method/function is called/invoked/referenced?

I know you can press Ctrl + R to find the Defition/Declaration of the function but how do you go back. Say you have a function and you want to know where it was used.

You can do normal search like name( and then it shows up But.. if name is minified then searching A( is less helpful and sometimes there is space A ( wont be matched.

Also i could write regex every time but that's tedious and unproductive.

Just like there is a way to find where was the function defined there should be a way to highlight and go through each invocation of that function.. so basically search functionality in revers.

like image 578
Muhammad Umer Avatar asked May 08 '15 17:05

Muhammad Umer


1 Answers

Simply use: CTRL + Shift + F

Also, third-party packages are available for Sublime. Try WhoCalled.

like image 100
Miladiouss Avatar answered Oct 15 '22 22:10

Miladiouss