This week I built my first VS Code extension, Focus Mode Pro — a Pomodoro timer that lives in the status bar, blocks distracting file types while I’m coding, and tracks daily focus streaks. I split the code into four clean modules (timer, streak, blocker, extension entry) so each piece had one job, which made the whole thing way easier to reason about than I expected.
The build itself went surprisingly smoothly. TypeScript compiled first try, and vsce package produced a valid .vsix with no real fight. The frustrating part was local testing — F5 threw weird connection errors I couldn’t decipher, so I gave up on debugging that and went straight to packaging the .vsix and uploading it to the Marketplace and GitHub Releases instead.