It’s quite useful sometimes to be able to navigate through the usages of a certain variable inside a file. For example, you find a method and you want to see where it’s being called, or a variable and see where it’s being used. With WebStorm it turns out it’s quite easy to do. You hit
Ctrl + Shift + F7 and then you use
Shift + F3 to navigate between usages.
Ctrl + Shift + F7 // Highlights all usages in file F3 or Shift + F3 // Navigate forward or backward between usages
If you are interested in usages in other files as well, use
Alt + F7 instead.
Alt + F7 // Finds usages inside the project