How to build a VS Code extension: I read the OpenCode one and wrote my own
|10 min read
Written by: Jonathan Reis on
A practical tutorial on how to build a VS Code extension from scratch. I read the minified source of the official OpenCode extension, found the internal HTTP endpoint, and built one that sends any selection — including from unsaved files.