Comment by scottmas

Comment by scottmas 6 days ago

4 replies

But how do you dump your entire code base into Gemini? Literally all I want is a good model with my entire code base in its context window.

mark_l_watson 6 days ago

I wrote a simple Python script that I run in any directory that gets the context I usually need and copies to the clipboard/paste buffer. A short custom script let's you adjust to your own needs.

satvikpendem 5 days ago

Cursor can index your codebase efficiently using vector embeddings rather than literally adding all your text files into context. Someone else mentioned machtiani here which seems to work similarly.

benterix 6 days ago

Legal issues aside (you are the legal owner of that code or you checked with one), and provided it's small enough, just ask an LLM to write a script to do so . If the code base is too big, you might have luck choosing the right parts. The right balance of inclusions and exclusions can work miracles here.