Is there a hot key available or configurable in Xcode for the “back button”?

孤者浪人 提交于 2021-01-28 11:50:50

问题


The backbutton in Xcode is super useful for me, especially when I CMD+CLICK to see a declaration, but I always have to use the mouse to click the arrow back button. Is this configurable to hot key?

Thanks!!!


回答1:


^⌘← unless I redefined that :P

Press "⌘," and go to Key Bindings to see the whole list. You can type "back" in the search box.




回答2:


I have a Logitech mouse with physical back/forward buttons. By default these buttons map to ⌘[ and ⌘]. Unfortunately these keystrokes default in Xcode to Shift Left (outdent) and Shift Right (indent), which are not what I expect when using my mouse.

So I just remapped ⌘[ to Go Back and ⌘] to Go Forward, though I also had to remove a few conflicting key bindings in order to do it.

Works great now, and I don't have to install any horrible Logitech software (stick to hardware, Logitech!). ;)



来源:https://stackoverflow.com/questions/7600076/is-there-a-hot-key-available-or-configurable-in-xcode-for-the-back-button

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