Xcode 6中的箭头键不起作用 [英] Arrow keys in Xcode 6 not working
问题描述
我在OS X Yosemite上遇到了最奇怪的Xcode 6问题.由于某种原因,我无法再使用向左和向右箭头键在源代码中进行导航.而是会发出系统提示音.向上和向下箭头可以正常工作.
I have the weirdest issue with Xcode 6 on OS X Yosemite. For some reason I can't use the left and right arrow keys anymore to navigate within my source code. Instead, the system beep sound would come up. Up and down arrows work fine.
恐怕这可能与我对按键绑定的摆弄有关.尽管仅更改了用于块(de)缩进的内容(最初是CMD + [,更改为TAB),所以据我所知,箭头键根本不会受到影响.
I'm afraid it could have something to do with my fiddling around with the key bindings. In only changed the ones for block (de)indentation though (originally CMD+[, changed to TAB), so in my understanding the arrow keys shouldn't be affected at all.
推荐答案
我能够通过运行使其再次工作
I was able to make it work again by running
defaults delete com.apple.dt.Xcode
在终端中,然后重新启动Xcode.
in the terminal and then restarting Xcode.
这篇关于Xcode 6中的箭头键不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!