Xcode中的键盘快捷键停止工作 [英] Keyboard shortcuts in Xcode stop working

查看:101
本文介绍了Xcode中的键盘快捷键停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我首先用Cmd-/注意到了这一点,偶尔拒绝为注释/注释掉的代码行工作.但是,现在(虽然可能与XCode 4.1无关,但刚刚发布到XCode 4.1)也发生在Cmd-B上.

I first noticed this with Cmd-/ occasionally refusing to work for comment-uncomment lines of code. But now (having just gone to XCode 4.1, although that may not be related) it's happened with Cmd-B to build as well.

我无法弄清楚造成这种情况的原因是什么,或者是否有发生这种情况的方式.

I can't figure out what I'm doing to cause this, or if there's any pattern to when it happens.

推荐答案

单击command+[一次,然后command+/开始工作.您可以再次按下command+]以撤消缩进效果.

Hit command+[ once and then command+/ starts working. You can hit command+] again to undo the indentation effect.

最初在此处发布了我的答案

Originally posted my answer here

这篇关于Xcode中的键盘快捷键停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆