score:112
Go to Preferences / General / Keys
. You'll be able to see or edit the bindings for:
Backward History
: default is Alt←Forward History
: default is Alt→
You may also use those shortcuts (and see the key bindings) in the toolbar:
score:6
In Mac (OSX), the commands are ⌘[ and ⌘]. They are very convenient navigation commands when coding.
score:10
I'm adding an answer, because I'm not allowed to comment yet. Though the dystroy's answer contains information about useful shortcuts, I'm not satisfied with it, because the mentioned Alt+left shortcut doesn't always navigate to the last cursor position (e.g. in the same file). I'm not sure how it works in Visual Studio, but in IntelliJ a similar shortcut always moved the cursor to the last cursor position, even in the same file. I would like to have such functionality also in Eclipse. For example: I move the cursor using the keyboard's down arrow key successively on lines 10, 20, 30. Now I am on line 30 and when I press Alt+left I would like the cursor to go to the line 20. After pressing Alt+left again I would like the cursor to go to line 10.
In Eclipse, when the cursor was in file A and I opened file B and moved the cursor down a few lines in file B, then Alt+left will move the cursor to the file A, instead of moving it to a previous cursor position in file B.
I created a separate question for this problem: How to navigate to the last cursor position in Eclipse if it is in the same file and was not edited?
score:14
There is Altleft arrow and Altright arrow to navigate to previous/next cursor positions, and CtrlQ to go to the last edited position.
Source: stackoverflow.com
Related Query
- How to navigate to the last cursor position in Eclipse if it is in the same file and was not edited?
- How to navigate to the last cursor position in Eclipse?
- How to get cursor position in an eclipse TextEditor
- How to configure Eclipse to always launch the last run configuration, not the current file?
- How to make an eclipse partstack not disappear when the last part is closed?
- Eclipse Plugin - How to get the last worked on editor
- How can I stop the cursor in Eclipse from jumping around automatically?
- How do I pass the current Eclipse text editor cursor location to an external tool?
- How to position the cursor pointer in RAP
- How to change the brightness of the mouse cursor for eclipse
- How to enable the Tab key to "leave / jump out" the cursor from closing ""{}[]()'' in Eclipse Neon with PDT?
- How to navigate to the type under the cursor in Eclipse?
- How to make the enter key move the cursor to the end of the line in Android Studio like it does in Eclipse
- How to set clicking on opened class in Editor area that navigate the package that contain this class in eclipse
- how can I open eclipse and see the project view I last looked at?
- How to navigate to the particular line in eclipse by using the log
- How to check whether the cursor is in an eclipse editor part?
- How do I adjust the position attributes of custom Eclipse markers when a file is edited by typing?
- How to get the x and y position of the last sprite in an arraylist
- How to turn off the Eclipse code formatter for certain sections of Java code?
- How do I increase the capacity of the Eclipse output console?
- How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?
- How to change the Eclipse default workspace?
- How to change the value of ${user} variable used in Eclipse templates
- How to set the java.library.path from Eclipse
- How do I configure the proxy settings so that Eclipse can download new plugins?
- How to output messages to the Eclipse console when developing for Android
- How to modify the keyboard shortcuts in Eclipse IDE?
- How do I set ${user} in Eclipse to get the correct @author tag?
- How do I change the default author and committer in the Eclipse Git plugin?
More Query from same tag
- Android - sharedpreferences for radio button
- Error after importing a project into eclipse
- Make Eclipse RCP Intro part of a perspective
- How to create a jar from a github Project
- Eclipse Svn synchronizing Not working?
- I am trying to get the GPS coordinates from within a fragment. I am not getting any errors but the application crashes on launch
- Eclipse Luna Quick Search Command
- How to enlarge the panel and what to use for java gui?
- JAX-RS @Path Embedded Variables
- How to set a java system property during testing phase
- java.lang.IllegalArgumentException: Unsupported class file major version 58
- How to scan only specific folders in Spring loaded?
- Trying to update to Android SDK 2.3 on Eclipse causes adb loss
- Compilation Error: StanfordCoreNLP cannot be resolved to a type
- Maven error messages do not link to code
- How to replace uppercase letters to lowercase letters using regex in Eclipse?
- org.hibernate.HibernateException: illegally attempted to associate a proxy with two open Sessions
- Android - onPause, onCreate, setContentView not working - method X is undefined for the type myMain
- Format conditional statements according to precedence in IntelliJ IDEA
- Eclipse creates fragment layout automatically, how can i disable it
- Eclipse "invalid resource directory name"
- How to add remote includes to a synchronized eclipse project for correct indexing?
- Properly update gravity of TextView programmatically?
- can't modify output from scanner unreadable
- Changing child's text color of expandable list
- import package.* to import methods in eclipse
- errors when install Green UML on eclipse(version 3.8) on Mac
- Java: How can I reorder constructor and method arguments quickly in eclipse?
- why can't I find my own installed artifact in eclipse search dialog?
- Creating page in Action Bar Android