| ▲ | simonw 10 hours ago | ||||||||||||||||||||||
The solution to "nonexistent APIs" is to use a coding agent (Claude Code etc) that has access to tooling that lets it exercise the code it's writing. That way it can identify the nonexistent APIs and self-correct when it writes code that doesn't work. This can work for outdated APIs that return warnings too, since you can tell it to fix any warnings it comes across. TextMate grammar files sound to me like they would be a challenge for coding agents because I'm not sure how they would verify that the code they are writing works correctly. ChatGPT just told me about vscode-tmgrammar-test https://www.npmjs.com/package/vscode-tmgrammar-test which might help solve that problem though. | |||||||||||||||||||||||
| ▲ | Razengan 7 hours ago | parent [-] | ||||||||||||||||||||||
Not sure if LLMs would be suited for this, but I think an ideal AI for coding would keep a language's entire documentation and its source code (if available) in its "context" as well as live (or almost live) views on the discussion forums for that language/platform. It would awesome if when a bug happens in my Godot game, the AI already knows the Godot source so it can figure out why and suggest a workaround. | |||||||||||||||||||||||
| |||||||||||||||||||||||