Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a hotkey for searching for references in IntelliJ when using Scala?

Is there a hotkey for searching for references in IntelliJ when using Scala?

In Eclipse, when using the hotkey CTRL+SHIFT+G on a name, a search for references starts. This is very usefull to find where a certain method is used. Is there anything similiar in IntelliJ when using Scala ?

like image 408
John Threepwood Avatar asked Jun 05 '12 08:06

John Threepwood


2 Answers

  • Ctrl+Alt+F7: Show Usages; displays pop-up with usages.
  • Alt+F7: Find Usages; opens the Find view, displaying usages in various ways (such as by methods and by files).

Found by doing Ctrl+Shift+A, then typing find, and seeing Show Usages and Find Usages listed. I tried search first, but that only showed settings. Now, I knew IDEA called it Usages, not References, but I avoided searching for that because you wouldn't know to search for that.

like image 54
Daniel C. Sobral Avatar answered Nov 04 '22 07:11

Daniel C. Sobral


I think in version 12 in Ubuntu Linux it's Control + Alt + the number key 7 rather than F7.

like image 23
Jason D Avatar answered Nov 04 '22 06:11

Jason D