Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ shortcut to show a popup of methods in a class that can be searched

I'm switching over from Eclipse to IntelliJ. In Eclipse, Ctrl+O in the editor, shows a hover popup that allows to search for a method in the class you're editing.

What is the equivalent shortcut for that in IntelliJ?

like image 531
Glide Avatar asked Oct 21 '10 17:10

Glide


People also ask

How I can see all methods in class IntelliJ?

By default, IntelliJ IDEA shows all classes, methods, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar. to show class fields. to have protected class members shown in the tree.

How do I search specific methods in IntelliJ?

From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . IntelliJ IDEA places the highlighted string into the search field.

What is Ctrl h in IntelliJ?

Ctrl + H = "Type Hierarchy" view = shows a tree of parent and child classes of this class. Ctrl + Shift + A = "It does a search as you type through all the commands in intellij. Not only that but when you find the command you want it also displays the corresponding shortcut key next to it!"

What does Ctrl Shift F do in IntelliJ?

In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").


3 Answers

Use Navigate (View in older versions) | File Structure Popup (Ctrl+F12 on Windows,
+F12 on OS X). Start typing method/symbol name to either narrow down the list or highlight the desired element. Press Enter to navigate to the selected element.

like image 187
CrazyCoder Avatar answered Oct 19 '22 14:10

CrazyCoder


I prefer to use the Structure view. To open it, use the menu: View/Tools Window/Structure.
The hotkey on Windows is Alt+7, +7 on OS X

like image 114
wryan Avatar answered Oct 19 '22 14:10

wryan


Do Cmd+F12+Fn Key on mac in IntelliJ if clicking Cmd+F12 starts.

like image 24
Himanshu Ranavat Avatar answered Oct 19 '22 13:10

Himanshu Ranavat