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 f开发者_开发问答or that in IntelliJ?
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.
On linux distributions (@least on Debian with plasma) the default shortcut is
Ctrl + 0
If you are running on Linux (I tested in Ubuntu 10.04), the shortcut is Ctrl + F12 (same of Windows)
command+fn+F12 is correct. Lacking of button fn the F12 is used adjust the volume.
By default, most of distribution uses Ctrl+F12.
Some OS distribution (in my case Xubuntu) which uses Xcfe, overrides Ctrl+F12 to "Workspace 12" switch.
You can type "this.
" and wait a second, a popup with methods and properties will display.
Not a shortcut, but it works for me.
PS: if you are in a static method, type the class name.
For Mac Users if command + fn + f12
or command + f12
is not working, then your key map is not selected as "Mac Os X". To select key map follow the below steps.
Android Studio -> Preferences -> Keymap -> From the drop down Select "Mac OS X" -> Click Apply -> OK.
Ashkan Kh. Nazary you can use
Ctrl+N or Ctrl+Shift+N
source IntelliJIDEA_ReferenceCard
精彩评论