Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 342
AWF4vk Avatar asked Jul 21 '11 03:07

AWF4vk


People also ask

How do you make a custom gesture on a Mac?

To create custom gestures, click which input device you'd like to recognize: we'll start with the Trackpad. Then, click “Add New Gesture.” Once you've done this, shift your attention to the bottom of the window. On the left, you can pick a gesture; on the right, an action for the gesture to trigger.

How do you swipe between screens on a Mac?

Double-tap with two fingers to open Mission Control. Swipe left or right with two fingers to move between desktops and full-screen apps. Swipe left or right with one finger to show the previous or next page.

How do I use the trackpad on my Macbook Pro?

On the keyboard, press the Control key and click the trackpad. Two-finger scroll: Slide two fingers up or down to scroll. Pinch to zoom: Pinch your thumb and finger open or closed to zoom in or out of photos and webpages.


1 Answers

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!

like image 74
Todd Hopkinson Avatar answered Sep 20 '22 14:09

Todd Hopkinson