score:190
Press Alt+Left Arrow and Alt+Right Arrow like you would in a web browser.
score:0
For me in Eclipse by default it is done by pressing "Left-Alt + Left-Arrow" key combination. You can also change the key combination of it in settings of eclipse which is exist with the shortcut name 'Backward-History'. I have made it "Right-Alt + Lest-Arrow" for my convenient.
I have also changed key combination for 'forward-History' as "Right-Alt + Right-Arrow".
score:2
These commands are very frequently used, so it is worth having all their shortcuts the same way in all your IDEs. To adjust them:
- Open Eclipse
- Windows -> Preferences -> General -> Keys
- Search for "Backward History" and "Forward History" and adjust the bindings.
For me personally Visual Studio's default Ctrl+- and Ctrl+= works best.
score:4
Keyboard bindings can change based on your OS and current Keys Scheme. So the best way to know a keyboard binding is to look up its Command in Preferences > Keys. That is also where you can change or add a keyboard binding.
Which means instead of asking for a shortcut, you should generally ask for the command (or at least ask for both). In this case the commands you want are Backward History
and Forward History
. You can see in the following screenshot that they are mapped to Ctrl+[ and Ctrl+] in my Key Scheme (because I changed them to that).
As mentioned by others, Last Edit Location
can be a really useful command also. In my case it's mapped to Ctrl+Q, but you check it under Keys :).
score:7
In addition to the keyboard shortcut mentioned by @lucas, there is the left and right arrow icons in the toolbar. It also has a handy back to last edit location as well.
Both of these are of course reflected in the menu under Navigate as well.
score:12
On Windows/Ubuntu this was always
ALT+LEFT ARROW = Go back
ALT+RIGHT ARROW = Go forward
However, on MAC OSX, for me it was
ALT(Option)+COMMAND+LEFT ARROW = Go back
ALT(Option)+COMMAND+RIGHT ARROW = Go forward
Hopefully this will help other Mac people in the future who banged their head on the desk when the other answers did not work.
score:23
As Robin mentioned, you can also jump to the last edit location. Ctrl+Q is the keyboard shortcut for this!
score:48
On OS X:
- ⌘ + [ ( Command + [ ) : Go Back
- ⌘ + ] ( Command + ] ) : Go Forward
Source: stackoverflow.com
Related Query
- How to step back in Eclipse debugger?
- Eclipse IDE view gone - how to get it back
- How to arrange windows in Eclipse back into default state?
- How do I get the old colors and look & feel back in Eclipse 4.2?
- How to get the graphical layout Window back in Eclipse for Android Application Design?
- How to get back a file that was excluded from a build configuration in Eclipse CDT?
- How to get back a deleted project in eclipse
- How do I get the "referenced libraries" folder back In the eclipse sdk?
- How do you join back the split editor panes in eclipse
- How to bring back old style window docking in Eclipse Juno?
- How do I change the default Eclipse Oxygen compiler compliance level from 9 to 1.8 and not have it revert back to 9?
- How to go back to unchecked 'Always run in background' progress in Eclipse IDE?
- How to get close button/icon back in Eclipse views
- How to switch Eclipse from python back to Java
- How do I add a single file back into my Eclipse project?
- How to get back an older version of my project in Eclipse Luna?
- Eclipse CDT: How to write to .cproject file and read back
- How to make Eclipse jump back automatically to development prespective when app that was debugged finished?
- How do you translate from checkstyle.xml to eclipse code style format/profile and back again?
- Eclipse Git (EGit) - How to revert local master back to remote master after a foul merge & commit with a local branch
- How do I reset Eclipse back to default settings on Macbook
- Eclipse Backup - how to get back to a specific date
- How to wipe Eclipse back to a fresh install state?
- How to fix validate plug-ins Missing Constraint: errors when moving from Eclipse Mars2 to Neon and changing target framework back to 1.7
- How to revert back to old local changes in eclipse
- How do you bring back items in Eclipse SVN View when you did 'Remove from view' them?
- How to get Eclipse code completion back after switching target to GoogleAPIs?
- How do I change Eclipse to use spaces instead of tabs?
- Eclipse HotKey: how to switch between tabs?
- How can I get Eclipse to show .* files?
More Query from same tag
- How to import jar of jars
- Maps not loading after releasing on Play Store
- Egit: Checking out two different versions
- spring framework: How can i start a web project with eclipse j2ee indigo?
- Opening a file in Eclipse using Java
- java generics: bounded wildcard upsetting eclipse
- Eclipse move the cursor left/right/up/down without using arrow keys
- Putting media into an Access Database using Java
- How to skip eclipse validation of folders for building workspace(Luna Edition)
- Imported Eclipse projects not compiling
- Cannot run Android apps with eclipse on OS X 10.6
- Mercurial eclipse plugin push different server
- Change text color for exceptions in LogCat
- eclipse, pydev, easy_install-ed eggs problem
- external jar adding to eclipse project
- Can you Disable DDMS in Eclipse
- Can't find the error exactly what or where it is in Logcat in Eclipse?
- How to include jars into the lib or user lib android project on APK?
- Skinning Entire Eclipse GUI, Not Just Code Window
- How can I set a key binding in Eclipse for clearing the console?
- How to download apache-mime4j-0.6.1.jar to Eclipse?
- When is Applet.stop() called?
- I am getting an error in ecllipse that a class is missing from Jar and the class is not the JAR , what can be done in this case?
- How to set initial window size in Java OpenGL
- quartz.properties location to be loaded automatically in JBoss AS 7.5
- The import src cannot be resolved
- Eclipse does not autocomplete function arguments for PyQt4
- Is there a way to change the caracters of a String one by one by caracters in a tab?
- Eclipse doesn't mark errors immediately when editing Android project
- UnsatisfiedLinkError with JavaCV Android