简体   繁体   English

xcode 3.2.1文件历史记录通过键盘快捷键

[英]xcode 3.2.1 file history via keyboard shortcut

Prior to xcode 3.2.1, you could cycle through the list of files your in history through a keyboard shortcut (Cmd + Option + L/R Arrow key). 在xcode 3.2.1之前,您可以通过键盘快捷键(Cmd + Option + L / R箭头键)循环浏览历史文件列表。

Now this set of keys will give you the history within the file (ie all of the actions you've performed in this file). 现在,这组键将为您提供文件中的历史记录(即您在此文件中执行的所有操作)。

Is there a way to navigate with keyboard only between files you have open in your history list? 有没有办法只在您在历史记录列表中打开的文件之间使用键盘进行导航?

Go into Xcode Preferences->Key Bindings and rebind these keys. 进入Xcode Preferences-> Key Bindings并重新绑定这些键。

set Cmd-Opt-Left to View->Previous File 将Cmd-Opt-Left设置为View-> Previous File

set Cmd-Opt-Right to View->Next File 将Cmd-Opt-Right设置为View-> Next File

Unless there's something nonstandard in my Xcode config, they've just rebound this action to shift+option+command+L/R arrow. 除非我的Xcode配置中存在非标准的东西,否则他们只是将此操作反弹为shift + option + command + L / R arrow。 Of course you can always change the binding back to the old one if you want as well. 当然,如果您愿意,也可以随时将绑定更改回旧绑定。

No. This is considered a feature of Xcode 3.2. 不。这被认为是Xcode 3.2的一个特征。 If it bugs you (it sure bugs me!) I suggest filing a bug with Apple. 如果它让你烦恼(肯定会让我感到烦恼!)我建议向Apple提交一个错误。 The more people who dupe this, the faster it will get fixed. 欺骗这个的人越多,修复得越快。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM