Trackpad gesture to switch to header/source

后端 未结 10 2076
名媛妹妹
名媛妹妹 2020-12-02 11:14

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 fea

10条回答
  •  忘掉有多难
    2020-12-02 12:03

    The answer from icnivad was so very close to working for me. With one additional step.

    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 /Developer/Applications/Xcode.app ".GlobalPreferences.XXXX-XXXX-XXXX-XXXX.plist"
    

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

    Save the plist file

    Restart machine

    THEN

    Make sure the "Three finger drag" System Preference is disabled. This seems to take precedence and stop the Xcode gesture from working.

提交回复
热议问题