disable swipe gesture in xcode 4
Does anyone know how to disable the swipe gesture in Xcode 4 that causes you to jump to a new file? I find that more times than not, this gestu开发者_StackOverflow社区re causes me to switch to unintentionally move away from a file I am scanning (I suppose I was lazy before when scrolling up and down, so my fingers would also move horizontally).
The problem with Aaron's answer is that it disables the gesture completely in all the apps, including Safari. To disable it in Xcode only, type this in the Terminal:
defaults write com.apple.dt.Xcode AppleEnableSwipeNavigateWithScrolls -bool NO
(Source)
Note that you might have to restart Xcode for these changes to take effect.
You have to go outside Xcode and through System Preferences > Trackpad > More Gestures then un-tick 'Swipe between pages'.
精彩评论