Cursor (Claude behind the scenes) can do that, however as always, your mileage may vary.
I tried building a whole codebase inspector, essentially what you are referring to with Gemini's 2 million token context window but had troubles with their API when the payload got large. Just 500 error with no additional info so...