开发者

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.


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


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.


Next Change: Control + \
Previous Change: Shift + Control + \

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜