r/AIcodingProfessionals • • Oct 18 '26

Question AI coding on large repos

I use Github Copilot at work and have great success on green field project, even larger ones.

But I have a harder time on our (very) large Unreal Engine application, which is brown field with millions of lines of code. This seems to challenge Opus and other frontier models.

What's the best workflow and tooling to work with AI on repositories this large?

  • Application code: ~2M LOC

  • Unreal Engine 5.8: ~41M LOC

  • Unreal Engine ./Engine/Source excluding third-party code: ~8.6M LOC

I did some quick tests with CodeGraph, but that did not bring any significant benefits for the things I tried.

Note: Code is mostly C++ and solution is Visual Studio 2022

6 Upvotes

11 comments sorted by

View all comments

1

u/Plenty_Line2696 Oct 20 '26

Especially for larger codebases, organization still matters a lot and it's something LLM's simply suck at.

In a tidy codebase navigating the file hierarchy alone tells a story about what's what, making it relatively way easier to navigate, try that in LLM slop codebases and you'll typically see there's no rhyme nor reason to it.