简体   繁体   English

如何在 Xcode 4 中“打开”版本编辑器?

[英]How to “Turn On” Version Editor in Xcode 4?

How to do so?怎么做?

What URL is the documentation of version editor? URL 是什么版本编辑器的文档?

If I click version editor toolbutton I just see an empty screen to the right如果我单击版本编辑器工具按钮,我只会在右侧看到一个空屏幕

The quasi-answer (workaround) to your question (I think) is that.. there IS NO such thing as a "turn on" for this feature.您的问题(我认为)的准答案(解决方法)是..此功能没有“打开”之类的东西。 If it isn't showing up right - which I've seen many times - means Xcode is having a debatably-temporary mental lapse.如果它没有正确显示 - 我见过很多次 - 意味着 Xcode 有一个值得商榷的暂时性精神失误。 Chances are - it (Xcode) is about to crash… but if you just want to be done with it / seal the deal / put the horse out of it's misery, etc..很有可能——它(Xcode)即将崩溃……但如果你只想完成它/达成交易/让马摆脱痛苦,等等。

  1. quit Xcode.退出 Xcode。
  2. reopen Xcode.重新打开 Xcode。

and you should be able to browse your versions , á la Time Machine, as usual. 并且您 应该能够像往常一样浏览您的版本 ,比如 Time Machine。

EDIT Ripley's believe it or not ® I think I'm wrong!编辑Ripley 的信不信由你® 我想我错了!

More likely is that your git "arrangement" has become "f-ed up", somehow-or-other.更有可能的是,您的 git “布置”已变得“f-ed up”,不知何故。

For me no amount of committing in the GitHub client for Mac would remedy the situation (for some files)… However, thanks to this hint , i guess forcing Xcode to "take a good, long look at itself in the mirror" via the "actual" Xcode File -> Source control => commit command does seem to bring back the version-editing functionality of problematic source files.对我来说,在 Mac 的 GitHub 客户端中提交的任何数量都无法解决这种情况(对于某些文件)......但是,由于这个提示,我猜想迫使 Xcode 通过“在镜子中好好审视自己”实际” Xcode File -> Source control => commit命令似乎恢复了有问题的源文件的版本编辑功能。

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

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