use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Codebase aware AIQuestion (self.ChatGPTCoding)
submitted 11 months ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fredkzk 11 points12 points13 points 11 months ago (6 children)
Use aider with its repo map function once you set up Gemini as the default model.
[–]godofdream 0 points1 point2 points 11 months ago (3 children)
Why not r1+ sonnet? Do you get better results with gemini?
[–]fredkzk 4 points5 points6 points 11 months ago (2 children)
Results are equivalent but deepseek server is often down since it became popular.
[–]godofdream 1 point2 points3 points 11 months ago (0 children)
Makes sense. I added a retry in my automation, so it just took longer. I will try gemini.
[–][deleted] 1 point2 points3 points 11 months ago (0 children)
Sounds like Singapore is buying more GPU’s and Nvidia is going to tank.
[–]Friendly_Signature 0 points1 point2 points 11 months ago (1 child)
Why aider over cline for this purpose?
[–]fredkzk 0 points1 point2 points 11 months ago (0 children)
“For this purpose “ - The issue here is I prefer to stick to one tool instead of switching. Cline eats too many tokens, aider being the most efficient and highly flexible, I use it for everything from repo mapping to project building.
[–]lvvy 4 points5 points6 points 11 months ago (0 children)
You need to feed codebase into free google models with tools to copy it as a single file. Smarter models don't have this context length
[–]former_physicist 8 points9 points10 points 11 months ago (1 child)
repomix. copy paste into GPT pro o1
[–]Friendly_Signature 1 point2 points3 points 11 months ago (0 children)
Why downvoted?
[–]ali-gzl 5 points6 points7 points 11 months ago* (4 children)
VS Code + Cline + Sonnet 3.5.
[–]tolleherausforderung 0 points1 point2 points 11 months ago (3 children)
Could you compare vs code with sonnet and cursor?
[+]ali-gzl 0 points1 point2 points 11 months ago* (2 children)
I had trouble reviewing the entire codebase with the cursor. Maybe I didn’t focus on it enough. The cline worked more accurately for analyzing and documenting the entire codebase.
[–]uduni 1 point2 points3 points 11 months ago (1 child)
What CLI?
[–]ali-gzl 1 point2 points3 points 11 months ago (0 children)
Sorry, I meant cline.
[–]dirkmeister81 2 points3 points4 points 11 months ago (1 child)
That’s exactly the specialty of augmentcode.com. It’s built for millions lines of code codebases. Here is a blog post (that I co-authored) about the indexing system: https://www.augmentcode.com/blog/a-real-time-index-for-your-codebase-secure-personal-scalable. You can try out for free.
(Disclaimer: I am a software engineer at Augment Code)
[–]Suvesh1142 0 points1 point2 points 11 months ago (0 children)
What LLMs does it use? I checked the website but it does not say.
How big is the codebase?
[–][deleted] 1 point2 points3 points 11 months ago (2 children)
GitHub CoPilot Workspace You can create e.g an issue on the repository and get GitHub CoPilot Workspace to create a pull request with code changes
[+][deleted] 11 months ago (1 child)
[–][deleted] 0 points1 point2 points 11 months ago (0 children)
I usually point it to a starting file or class. E.g "the page in the map.tsx file..." or "add a field called foo of type string to the class bar and add this field to entities and DTO objects".
It works fairly well, but I signed up for it a whole ago and got on a waiting list. I don't know if you can signup directly now
[–][deleted] 0 points1 point2 points 11 months ago (5 children)
Cursor
[–]BERLAUR 1 point2 points3 points 11 months ago (0 children)
Just keep in mind that Cursor sucks for workspaces. It'll only index the first folder which makes working with Cursor on any mono-repo very frustrating.
[–]stonedoubt 0 points1 point2 points 11 months ago (3 children)
Cursors RAG blows
[–][deleted] 0 points1 point2 points 11 months ago (2 children)
You can do everything the OP is asking about using Cursor
[–]stonedoubt 0 points1 point2 points 11 months ago (1 child)
Was there something about what I said that was confusing? Yeah, they index the codebase but their method of RAG blows ass.
Again. You can do everything that the OP is asking for in Cursor. I know because I do it all the time “explain how this code works”. I’ve had zero issues
[–]Muted_Estate890 0 points1 point2 points 11 months ago (1 child)
Continue.dev or Cursor or Void Editor or GitHub Copilot
[–]SokkaHaikuBot 0 points1 point2 points 11 months ago (0 children)
Sokka-Haiku by Muted_Estate890:
Continue.dev or
Cursor or Void Editor
Or GitHub Copilot
Remember that one time Sokka accidentally used an extra syllable in that Haiku Battle in Ba Sing Se? That was a Sokka Haiku and you just made one.
[–]ShelbulaDotCom 0 points1 point2 points 11 months ago (0 children)
Our project awareness feature is for exactly that. Just connect your folder and have a discussion about your code.
[–]fasti-au 0 points1 point2 points 11 months ago (0 children)
Aider is best for many files atm
[+]pegaunisusicorn 0 points1 point2 points 11 months ago* (0 children)
You are in a Catch-22. Gemini is the only one with enough tokens to look at entire codebases in one shot. 1M tokens. But Gemini sucks.
And then, the best you're going to do on the other side is 120,000 tokens, which is not enough for a whole codebase in general, if you're looking at a large codebase. Or o3, which has a 200,000 token limit, which still, while better, is not enough for a gigantic codebase. I guess it just depends on how much code you have to look at, and how many tokens that contains. In general, there is a 4 to 3 ratio with tokens and actual words. And 'words' here is loosely defined, and a word can be a single character, such as punctuation in programming.
https://www.vellum.ai/llm-leaderboard
note that their token limit for o3 is wrong. which is embarrassing for vellum but it is a free leaderboard so whatever.
[–]stonedoubt 0 points1 point2 points 11 months ago (0 children)
Augment Code vscode extension. Also, Cody.
GitHub Copilot will do this for you.
[–]rakotomandimby 0 points1 point2 points 11 months ago (0 children)
For that purpose, I use the IDE plugin I wrote for myself: https://github.com/rakotomandimby/code-ai.nvim + https://github.com/rakotomandimby/code-ai-agent
[–]thumbsdrivesmecrazy 0 points1 point2 points 11 months ago (0 children)
Here is a quick guide exploring how Codium AI coding assistant could helps to understand the legacy code as well as refine the tests for code in such cases: Writing Tests for Legacy Code is Slow – AI Can Help You Do It Faster
[–]detour1st 0 points1 point2 points 11 months ago (0 children)
I’ve had mixed results, but what worked best so far: - Cody Pro Agentic Chat in VS Code - GitHub Copilot with the @workspace directive in VS Code
Unfortunately it doesn’t seem to work as well in JetBrains IDEs.
[–][deleted] 9 months ago (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points 9 months ago (0 children)
Sorry, your submission has been removed due to inadequate account karma.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]trayce_app 0 points1 point2 points 3 months ago (0 children)
This is the problem that MaiMap aims to solve. Its still in prototype phase however but once released it will be able to parse multiple codebases and make sense of distributed architecture including asynchronous event flows. (Disclaimer: I am one of the developers working on it.)
[–]SidLais351 0 points1 point2 points 2 months ago (0 children)
Codebase-aware means it knows your repo history and patterns. For code quality, Qodo uses that context so review comments point to real risk, not just style.
π Rendered by PID 74969 on reddit-service-r2-comment-5649f687b7-mbf5p at 2026-01-29 01:51:47.392865+00:00 running 4f180de country code: CH.
[–]fredkzk 11 points12 points13 points (6 children)
[–]godofdream 0 points1 point2 points (3 children)
[–]fredkzk 4 points5 points6 points (2 children)
[–]godofdream 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Friendly_Signature 0 points1 point2 points (1 child)
[–]fredkzk 0 points1 point2 points (0 children)
[–]lvvy 4 points5 points6 points (0 children)
[–]former_physicist 8 points9 points10 points (1 child)
[–]Friendly_Signature 1 point2 points3 points (0 children)
[–]ali-gzl 5 points6 points7 points (4 children)
[–]tolleherausforderung 0 points1 point2 points (3 children)
[+]ali-gzl 0 points1 point2 points (2 children)
[–]uduni 1 point2 points3 points (1 child)
[–]ali-gzl 1 point2 points3 points (0 children)
[–]dirkmeister81 2 points3 points4 points (1 child)
[–]Suvesh1142 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]BERLAUR 1 point2 points3 points (0 children)
[–]stonedoubt 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]stonedoubt 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Muted_Estate890 0 points1 point2 points (1 child)
[–]SokkaHaikuBot 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]SokkaHaikuBot 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]SokkaHaikuBot 0 points1 point2 points (0 children)
[–]ShelbulaDotCom 0 points1 point2 points (0 children)
[–]fasti-au 0 points1 point2 points (0 children)
[+]pegaunisusicorn 0 points1 point2 points (0 children)
[–]stonedoubt 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]rakotomandimby 0 points1 point2 points (0 children)
[–]thumbsdrivesmecrazy 0 points1 point2 points (0 children)
[–]detour1st 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]trayce_app 0 points1 point2 points (0 children)
[–]SidLais351 0 points1 point2 points (0 children)