> Codegen tools today are still not great: The lack of context and not using LSP really burns down the quality of the generated code
Have you tried Aider?
They've done some discovery on this subject, and it's currently using tree-sitter.
Have you tried Aider?
They've done some discovery on this subject, and it's currently using tree-sitter.
We also use tree-sitter for the smartness of understanding symbols https://github.com/codestoryai/sidecar/blob/ba20fb3596c71186... and also the editor for talking to the Language Server.
What we found was that its not just about having access to these tools but to smartly perform the `go-to-definition` `go-to-reference` etc to grab the right context as and when required.
Every LLM call in between slows down the response time so there are a fair bit of heuristics which we use today to sidestep that process.