News for hackers. Stuff that matters.
Re:Show HN: Transform Your Codebase into a Single Markdown D... by singpolyma3 on Friday February 14, 2025 @12:30PM (#43050725)
I guess this only works for very small codebase?
Re:Show HN: Transform Your Codebase into a Single Markdown D... by OsrsNeedsf2P on Friday February 14, 2025 @12:42PM (#43050881)
Correct, but it's the same as what OP shared.

You should use Aider/Cursor for proper indexing/intelligent codebase referencing

Re:Show HN: Transform Your Codebase into a Single Markdown D... by boredemployee on Friday February 14, 2025 @01:39PM (#43051567)
not sure if it's cursor's fault, but very often it doesn't give me the real or complete code of my codebase when auto editing/auto completing.

any tips?

Re:Show HN: Transform Your Codebase into a Single Markdown D... by soco on Friday February 14, 2025 @04:44PM (#43053410)
I'm still puzzled how come people are convinced by Cursor, while my experience was meh at best. Can it index your stuff? okay it can. Can it refactor a simple function? No it cannot, it can't even rename a damn Java class. How can I trust it to generate then code based on my codebase? So, what is your use case then? Or can anybody point me to some blog/articles/videos showing some real use cases for Cursor? Real as in, something that it provenly can do?
Re:Show HN: Transform Your Codebase into a Single Markdown D... by jcgrillo on Friday February 14, 2025 @07:17PM (#43054522)
Correct. It's Web 3.0 2.0. You're supposed to play along to make the stock prices go up and to the right.
Re:Show HN: Transform Your Codebase into a Single Markdown D... by risyachka on Friday February 14, 2025 @05:22PM (#43053754)
I think you know the correct answer:)
Re:Show HN: Transform Your Codebase into a Single Markdown D... by soco on Tuesday February 18, 2025 @09:27AM (#43089837)
I hoped to be wrong but no comment so far even tried to bring a based argument... eh, maybe I'll try again in a year.
Re:Show HN: Transform Your Codebase into a Single Markdown D... by astar1 on Saturday February 15, 2025 @12:04AM (#43056032)
>Java

found the problem

Re:Show HN: Transform Your Codebase into a Single Markdown D... by kristiandupont on Saturday February 15, 2025 @04:43AM (#43057280)
>Can it refactor a simple function?

Certainly, I do that several times a day.

Re:Show HN: Transform Your Codebase into a Single Markdown D... by rob on Saturday February 15, 2025 @06:26AM (#43057739)
Listen, I don't want to brag too much, but it even made me a function today.
Re:Show HN: Transform Your Codebase into a Single Markdown D... by starfezzy on Saturday February 15, 2025 @10:08AM (#43059008)
Cramming thousands of tokens of potentially irrelevant context through unclear indexing paths isn't "proper".

The best results come from feeding precisely targeted context directly into the prompt, where you know exactly what the model sees and how it processes it. The prompt receives the most accurate use of attention—whereas god knows what the pipeline is for cursor or what extra layers and context restrictions they add on top of base Claude.

Giving the model a clean project hierarchy accomplishes a lot efficiently in terms of context tokens. The key is ensuring it only sees what's relevant, without diluting its attention.

Tools like reopmix and OP's version, feeding targeted context straight into models like Claude or Google's offerings, outperform Copilot and Cursor in my experience, even though they use the same base models. Use the highest-quality attention (the prompt context) directly, rather than layers of uncertainty and "proper indexing".