Live data from Hacker News

Show HN: Transform your codebase into a single Markdown doc for feeding into AI

tesserato.web.app

71–80 of 172 posts

Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI

#73

Wouldn't it be wonderful to have a tool where you interact with AI interactively through the codebase via IDE / vim / emacs tree? Say, you open your codebase and start with prompts and AI+tool navigates to a function or a place where it needs to and modifies stuff while chatting to you about it? Or you jump to somewhere, highlight where you are to scope down the focus of it (while it still retains all of the code in…

Apologies if I'm missing something, but aren't you describing Cursor/Copilot/Windsurf?

the vscode extension cline also does this

Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI

#77
post #58

See the script I created that does something similar with a few improvements for large projects: https://paste.mozilla.org/9rD95yAy I would like to be able to create sets of files that I can easily send to the clipboard in this kind of format. The files could correspond to the ones relevant to a particular feature, etc. They don't always fall under the same subtree of the source code, and the entire source code is to…

Link says snippet deleted.

Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI

#78

Wouldn't it be wonderful to have a tool where you interact with AI interactively through the codebase via IDE / vim / emacs tree? Say, you open your codebase and start with prompts and AI+tool navigates to a function or a place where it needs to and modifies stuff while chatting to you about it? Or you jump to somewhere, highlight where you are to scope down the focus of it (while it still retains all of the code in…

I think you’re describing Aider.chat. There are 2 Emacs packages for it, one official and a very recent fork. Aider is a cli so it works great with vim as well. In Emacs I’ve had good experience with gptel as well but I prefer aider for the coding workflow

I'll check it out, thanks!

Re: Show HN: Transform your codebase into a single Markdown doc for feeding into AI

#79

Earlier quoted context omitted.

I guess this only works for very small codebase?

Correct, but it's the same as what OP shared. You should use Aider/Cursor for proper indexing/intelligent codebase referencing

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?

Post reply on HN