为什么 Xcode 4 版本编辑器有时会说“没有编辑器"? [英] Why does Xcode 4 version editor sometimes say "no editor"

查看:58
本文介绍了为什么 Xcode 4 版本编辑器有时会说“没有编辑器"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在项目导航器中,项目文件旁边有一个小M",表示它已被修改.所以我点击版本编辑器.左侧显示项目文件的内容,右侧显示无编辑器".如果我进入源代码管理,提交选定的文件...

In the Project Navigator, there is a little "M" next to the project file, meaning it's been modified. So I tap the Version Editor. The left side shows me the contents of the project file, and the right side says "No Editor". Same thing if I go into Source Control, Commit Selected Files...

但是,其他文件(.m、.h、.plist 等)都显示出真正的差异,并正确签入更改.

However, other files (.m, .h, .plist, etc.) all show real differences, and correctly check-in changes.

我是否以某种方式配置错误?

Do I have this mis-configured somehow?

推荐答案

这发生在我更新到 Xcode 4.0.2 之前.我认为这是一个错误.但是,尝试通过转到 File -> 来刷新状态.源代码管理 ->刷新状态.

This happened to me before I updated to Xcode 4.0.2. I think it's a bug. However, try to refresh status by going to File -> Source Control -> Refresh Status.

另外,可能很明显,但请确保通过在源树中单击它来实际选择修改后的文件.

Also, may be obvious, but make sure you actually select the modified file by clicking it in the source tree.

这篇关于为什么 Xcode 4 版本编辑器有时会说“没有编辑器"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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