编辑器无法在 Xcode 中打开

发布于 2024-08-19 15:31:41 字数 178 浏览 1 评论 0原文

我的 Xcode 有一个奇怪的问题。这是一个屏幕截图:

在此处输入图像描述

当我通常单击左栏中的文件时,它会在源代码中打开编辑器在右边。现在它不再发生了。有谁知道如何恢复到以前的样子吗?这让我发疯 问候 彼得

i have a weird problem with Xcode. Here's a screenshot:

enter image description here

When i usually clicked on the file in the left column it'd open in source code editor on the right. Now it doesn't happen. Does anyone know how to get it back the way it was before? it drives me crazy
greetings
peter

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

帅冕 2024-08-26 15:31:42

退出 Xcode 并重新启动它。

Quit Xcode and relaunch it.

呆萌少年 2024-08-26 15:31:42

我发现这现在有点旧了,但我也遇到了同样的问题。我要做的就是打开“界面生成器”程序,它是文件的编辑器,然后从该程序中找到并打开 .xib 文件。下次我尝试用 Xcode 打开它时,它成功了。

I see this is a little old now, but I had the same problem. The thing that I had to do was to open the "interface builder" program, wich is the editor for the file, then find and open the .xib file from that program. Next time I tried open it with Xcode it worked.

通知家属抬走 2024-08-26 15:31:42

将源文件从“组和文件”窗格(通常位于左侧)拖到显示“无编辑器”的窗格中。无需重置默认值。

Drag a source file from the Groups and Files pane (usually on the left) over into the pane that says "No Editor". No need to reset the defaults.

看轻我的陪伴 2024-08-26 15:31:41

如果单击顶部的“项目”、“测试”,然后单击右侧的列,会发生什么情况。它会在编辑器中打开文件吗?

What happens if you click on the Project, test, at the top, and then click in the columns on the right. Will it open the file in the editor?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文