Might need work in partitioning and pruning an effective RAG system, shouldn't need the whole code base at once

Reply to this note

Please Login to reply.

Discussion

Yeah i am getting it to pull with rg -A, but it ends up needjng more and just reads the whole file

Until there's LSP support (see VS Code), I have a new session take notes on key classes. Context management is key right now

maybe just need a tool that talks LSP so that the ai can look up functions and stuff

That's what I mean. Lots of environments support LSP: even emacs

I've always thought it was overkill. maybe just a tool that allows it to use ctags to look up things would be nice

If you have a documentation generator, it can read the output of that too. I'm trying this with nostr / Swift

People write servers for programming languages / project types, and clients for editors and tools

It's called a Language Service Protocol extension. There was talk of integrating LSPs pre-1.0, but MCP was coming. Someone will probably start one soon.

https://learn.microsoft.com/en-us/visualstudio/extensibility/adding-an-lsp-extension?view=vs-2022

That would be awesome