Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does XCode have a cursor navigation stack like Visual Studio?

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!

like image 561
Jason Dagit Avatar asked Jul 24 '09 16:07

Jason Dagit


1 Answers

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

like image 160
zs2020 Avatar answered Oct 01 '22 14:10

zs2020