R – Does XCode have a cursor navigation stack like Visual Studio

cursor-positionidenavigationvisual studioxcode

Visual Studio tracks cursor positions and lets you move forward and backward through these positions. For example, you can type Ctrl+- to navigate backwards and Ctrl+Shift- to navigate forwards.

I see that XCode tracks the history of which files you've visited, but does it also allow me to go forward and backward through the cursor locations?

The reason I ask is because I find that by using Command-Double left click, I visit function definitions (often in the same file), and then I want to quickly return to where I was previously in the same file. Because I'm in the same file the file history navigation is not useful. Currently I have to search through the code to figure out where I was, which is tedious.

Thanks!

Best Answer

In xcode4, [Control + Command + <--] jump to the previous, [Control + Command + -->] jump to the next one.