Xcode 4 Cmd+alt+up/down remapping

梦想的初衷 提交于 2019-12-09 05:54:46

问题


I realise that switching between header and implementation files has moved to ctrl+cmd+up/down.

however this is incredibly annoying, as there is no Ctrl button near the arrow keys, before I could do it quickly with 3 fingers on one hand.

So i opened up preferences found that I could change the key bindings and attempted to press cmd+alt+up/down. However it seems that it is the only box that refuses to accept the alt key. I tried any combination of alt+any key, and it just entered the key without alt. How can I bypass this? Is there a manual way of setting key bindings, and why on earth is alt not allowed in these 2 particular key bindings?


回答1:


I reported a bug at apple. (Problem ID: 9125898)

Please add any details there.. [edit] oops, not possible.. Just submit another one :)




回答2:


Not sure if it's a bug but YES you can remap it. However the behavior is a little different from that in Xcode 3. You can set it to Cmd+alt+up /down in Preferences. Note that you can't set the alt key on "Jump to Next Counterpart" but only "Jump to Next Counterpart (option)".

This new key binding will open implementation/interface file in Assistant Editor side-by-side with the original editor.

Cmd+Return to close the Assistant Editor.



来源:https://stackoverflow.com/questions/5282236/xcode-4-cmdaltup-down-remapping

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!