如何在 Xcode 中刷新 Project Navigator 内容? [英] How to refresh Project Navigator content in Xcode?

查看:50
本文介绍了如何在 Xcode 中刷新 Project Navigator 内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在项目导航器中刷新文件列表.没有刷新按钮,我不认为重启 Xcode 应该是解决方案.

I'm not able to refresh file list in Project Navigator. There is no refresh button, and I don't think restarting Xcode should be the solution.

您如何查看外部添加的文件?我用的是 Mac.

How do you see files that you add externally? I'm on Mac.

推荐答案

您如何查看外部添加的文件?

How do you see files that you add externally?

不能从外部添加文件.将源文件转储到项目目录中不会将其添加到项目中.要添加文件,您必须从 Xcode 中将其添加到项目中.

Files cannot be added externally. Dumping a source file into the project directory does not add it to the project. To add a file you must add it to the project from within Xcode.

如果您有一堆文件需要添加,那么在添加文件"对话框中,您只需一次选择所需的所有文件并添加它们,而无需重复打开添加文件"对话框.只需使用控制单击来选择多个文件.

If you have a bunch of files that you need to add then in the Add File dialog you can just select all the files you want at once and add them, without having to repeatedly open the Add File dialog. Just use control clicking to select multiple files.

这篇关于如何在 Xcode 中刷新 Project Navigator 内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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