Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Version Editor - How to navigate through the changes?

In the built-in version editor view of Xcode 4 and 5, when it shows the differences between two revisions, how do you jump from one changes to another?

I'm looking for something like the Cmd+Down/Cmd+Up shortcut keys of Araxis Merge.

like image 718
dbernard Avatar asked Sep 07 '11 15:09

dbernard


2 Answers

Thuggish Nuggets' answer is correct. To state it clearly, if you are in the Version Editor already:

Just click on the blue area in the middle gutter between the left and right sides. It will become "selected" (blue selection lines will appear top and bottom). Don't click on the little numbered button, but in the space around it.

Then you can arrow up and down (no command keys).

Not the most obvious thing... and not documented.

like image 158
Simon Woodside Avatar answered Oct 25 '22 15:10

Simon Woodside


If you are already in the Version Editor:

  1. In the center gutter between the left and right sides, click a revision highlight (blue area) to select it
  2. Use the Up/Down arrow keys to navigate through the changes

If you are NOT already in the Version Editor do this:

  1. Open the file with the changes you want to compare
  2. Select the version editor viewing mode
  3. Click the timeline button to select which revisions of the file you want to compare then click the timeline button again to dismiss the timeline
  4. In the center gutter between the left and right sides, click a revision highlight (blue area) to select it
  5. Use the Up/Down arrow keys to navigate through the changes
like image 27
Beltalowda Avatar answered Oct 25 '22 15:10

Beltalowda