Control-Command-Up 未切换到 Lion 上 Xcode 中的对应文件。
自从 Lion 中的三指滑动被盗以来,我发现自己被迫使用键盘在 .h 和 .m 文件之间切换。两根手指左右滑动似乎很少起作用,无论如何这应该用于滚动。
键盘命令应该是 Control-Command-Up,但由于某种原因,这使我退出 Xcode 并在 Finder 中显示项目文件。
我检查了系统偏好设置和 Xcode 的键绑定设置,没有发现任何错误。 Xcode设置正确,我找不到任何冲突。
Since the three finger swipe has been stolen in Lion, I find myself forced to resort to the keyboard to switch between .h and .m files. Two finger swipe left and right only seems to work infrequently, and that should be for scrolling anyways.
The keyboard command should be Control-Command-Up, but for some reason this takes me out of Xcode and shows the project file in Finder.
I have checked both System Preferences, and Xcode's key bindings settings, and I can't find anything wrong. Xcode is set properly, and I can't find any conflicts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否有可能安装了另一个程序(例如 Afloat),该程序可能会接管组合键?例如,Afloat 使用 Control-Command-Up 组合键来执行您所描述的操作 - 在 Finder 中显示打开的应用程序的文件。
除了更改组合键之外,Xcode 默认的 Control-Command-Down 也将切换为对应的组合键。
Do you by any chance have another program such as Afloat installed that might be taking over the key combination? For instance, Afloat uses the Control-Command-Up key combo to do just what you described - show the open application's file in Finder.
Besides changing the key combo, the Xcode default Control-Command-Down will also switch to the counterpart.
我认为这是一个错误。现在,我指定了另一个组合键:^Q 和 ^Z 来“跳转到对应项”并且它有效。
I think it's a bug. For now I assigned another key combination: ^Q and ^Z to "jump to counterpart" and it works.