CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

How to let CopilotForXcode indexing the whole repository

Open nenseso opened this issue 5 months ago • 6 comments

Image

I can only support several files as context,I want to indexing the whole project,but I don't know how,every time when I ask question, I feel very slow

nenseso avatar Jul 23 '25 12:07 nenseso

Do you mean 'Add Context' view only list partial of your source files? Can you explain a little more about indexing the whole project? thanks.

testforstephen avatar Jul 23 '25 12:07 testforstephen

I mean like this in cursor.

Image but when I use copilot for Xcode, I can only add a few files as context Image

I want to add the whole project as my context.

nenseso avatar Jul 24 '25 02:07 nenseso

I just found @workspace can let copilot read whole project, may be this can work?

nenseso avatar Jul 24 '25 03:07 nenseso

yes, in Ask mode, you can use @workspace to auto search context based on your query. For Agent mode, @workspace is not supported and we have plan to support a codebase tool for agent mode.

testforstephen avatar Jul 24 '25 04:07 testforstephen

Thanks a lot for the clarification!The @workspace solution works perfectly for my current needs. I'm especially excited about the planned codebase tool for Agent mode - this will greatly enhance our development efficiency. Looking forward to its release!

nenseso avatar Jul 24 '25 06:07 nenseso

I believe Indexing is a great approach for improving context on project codebase. I've do exercise both, but Cursor having much better with project context. can't wait it for next version. :D

ihsanaqidah avatar Jul 31 '25 07:07 ihsanaqidah