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?
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.
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.
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!"
In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").
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.
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
Do Cmd+F12+Fn Key on mac in IntelliJ if clicking Cmd+F12 starts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With