Reputation: 329
In Eclipse you can use alt+<- or -> to move between places you were. What is the equivalent in Intellij?
Upvotes: 31
Views: 17243
Reputation: 1410
This is a two step process
Upvotes: 0
Reputation: 49
We can also change default shortcuts option to eclipse shortcuts option - File -> Settings -> Keymap -> select Eclipse in the dropdown.
Upvotes: 1
Reputation: 416
I confirmed it's ⌘+⌥+←(→) on Mac OS X.
Command + Option + Left(Right)
Just for additional information.
Upvotes: 11
Reputation: 447
Well, I'm using Ubuntu 18.04 and Intellij IDEA Community Edition 2020.1.3 and i could only make the navigation work by using: ALT+SHIFT+← or ALT+SHIFT+→
Upvotes: 0
Reputation: 6222
I got this from IntelliJ site, I'm sure it will be helpful:
To navigate backwards, press ⌘+[. To navigate forward, press ⌘+].
To navigate to the last edited location, press ⇧+⌘+⌫.
To find the current caret location in the editor, press Ctrl+M. This action might be helpful if you do not want to scroll through a large file.
However, you can press the ↑ and ↓ arrow keys to achieve the same result.
To highlight a word at the caret you are trying to locate, select Edit | Find | Next Occurrence of the Word at Caret from the main menu.
To see on what element the caret is currently positioned, press ⌃+⇧+Q.
To move caret between matching code block braces, press ⌃+M.
To navigate between code blocks, press ⌥+⌘+[ or ⌥+⌘+].
Upvotes: 0
Reputation: 165
I would suggest just go and select eclipse shortcuts option instead of default provided by IntelliJ idea ide
Upvotes: 3