Trackpad gesture to switch to header/source

I used to be able to use three finger scroll-up to switch between source/header. Since upgrading to Lion, I it just does a regular scroll. Is there any way to get that feature back?

Aka, it doesn't jump to counterpart when I scroll up / down like it used to.

Update

Apple fixed the issue in Xcode 4.2. So, upgrade your versions.


This is the correct and best answer. It works. It is posted by "@Buyin" above. Another individual commented that it doesn't work. He is wrong. It works, I've confirmed it. It restores the three finger vertical swipe to switch between interface and implementation files (.h and .m) in xCode in Lion.

From your terminal:

Change to appropriate directory (note, if your Library dir is hidden, in the terminal just type the following: chflags nohidden ~/Library )

1. cd /Users/YOURUSERNAME/Library/Preferences/ByHost

List files so you can see the .GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist

2. ls -lah

Open that plist file in xcode

3. open -a /Applications/Xcode.app ".GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist"

Set value to 1 for the key "com.apple.trackpad.threeFingerVertSwipeGesture"

Save the plist file

Log out and back into machine

VOILA!


Given apple took this away (hopefully just for now) the only way I can think of to get this working again would be to install BetterTouchTool[1] and bind the keyboard control - control-cmd-up, ctrl-cmd-down - to the three finger motion. You'd also have to switch the default three finger motion in sys prefs to use four fingers for mission control.

[1] http://blog.boastr.net/


As found in internet:

defaults -currentHost write -g "com.apple.trackpad.threeFingerVertSwipeGesture" -int 1

Logout and Login again

链接地址: http://www.djcxy.com/p/47390.html

上一篇: Xcode的“建立和存档”从命令行

下一篇: 触控板手势切换到标题/来源