tags:

views:

13

answers:

2

Hello,

I use xcode search to quick open files in project. It works very good when the files are in current project, but when I have one project that includes other sub-projects it searches only in files from current project. Is it possible to search a file in all files from all sub-projects? I don't like to open a sub-project every time when I want to search a file that is not included in main project.

Thanks

A: 

I'm not sure I understand the difference between a project and a sub-project, but Shift+Cmd+F will bring up the search whose scope is everything included in the project window and not just the active file. If you are talking about linked files in other projects, I think you're still stuck opening those projects to search.

Philip Regan
I don't want to search in files, I want to search files. And Shift+Cmd+F searches only in current project files, not in all files.I have project that contains other projects that are compiled as static libraries. I want to search inside that projects too.
Felics
A: 

You could include the source in your project without copying it or adding it to the target.

Or have a look at XCode 4 if you are a registered developer.

Eiko
That means to modify my project and I don't want to do this:) I know that few years ago I could search in sub-projects too. I don't know who was the guy that configured xcode... And I don't work with same team:(
Felics
How exactly do you search for files? And what do you add to your project? If it's just the compiled lib, how should Xcode know about anything of other sources?
Eiko
Ok, I'll explain in Visual Studio terms:PI have a solution(main project) that contains all the other projects and main application source file. When I search a file, xcode searches only in the files included in Solution instead of searching in Solution files and project files like in Visual Studio, so before every search I must open the correct project and search in it.
Felics
There's are options to search in included files or search in files and folders (which you can specify). Look in the Batch Find Options: Hit the "Options..." button in the Project Find pane.
Eiko