I upgraded my MacBook Pro today to the new Lion version of the OSX operating system. After downloading and installing Lion, I was forced to upgrade Xcode from version 4 to 4.1. It took quite a while to complete. After everything was updated I fired up Xcode 4.1 to kick the tires.
Much to my dismay, I found that the “Jump to next/previous counterpart” command that I constantly use can no longer be performed via the trackpad. In Xcode 4 I would use a three-finger vertical swipe to move between header (.h) and implementation (.m) files, roughly 56,000 times per coding session. That command no longer can be performed with that super-convenient gesture. I can’t imagine why Apple decided to remove support for that gesture. I can’t find a way to re-enable it, either.
Fortunately, the “Jump to next/previous counterpart” feature was not entirely removed. You can still access it via the Navigate menu, or using the default key bindings of Control+Command+UpArrow and Control+Command+DownArrow.
On a similar note, navigating back and forth between files that you’ve viewed is no longer available via the trackpad (via three-finger horizontal swipes). Instead use Control+Command+LeftArrow to go back in the navigation history, and Control+Command+RightArrow to go forward in it.
Those are the default key bindings. If you would like to customize them, open the Xcode menu item, then click the Preferences… item. In the window that opens, click the Key Bindings button and scroll down to the commands you would like to map to different keys.
If you know how to re-enable the trackpad gestures, please let me know!