4 ms·
> Give coding agents access to intellisense and syntax highlighting. i once asked an LLM if it could ingest code from an interactive session more easily if it
by sgbeal 6mo ago
> Give coding agents access to intellisense and syntax highlighting.
i once asked an LLM if it could ingest code from an interactive session more easily if it were in appropriately-typed markdown fences and it said absolutely yes, and that the syntax highlighting fed to it that way helps it immensely. i was downright shocked that syntax highlighting was anything more than noise for them.
- devmor 6mo agoWhy would this be surprising? That’s exactly how much of the code they were trained on is presented in PRs, Forums, etc.
- astrange 6mo agoIs that true? That depends on how their web scraping works, like whether it runs client-side highlighting, strips out HTML tags, etc.
- devmor 6mo agoThe highlighting isn't what matters, its the pretext. E.g. An LLM seeing "```python" before a code block is going to better recall python codeblocks by people that prefixed them that way.
- deleted 6mo ago[deleted]
- Tarq0n 6mo agoYou can't trust what a model says about itself. It has no ability to introspect.