↓ Skip to main content

VS Code

Testing framework for VSCode extension development

·11 mins
I created a VSCode extension recently (awalsh128/vscode-keep-sorted) and learned a lot of lessons trying to set up the test environment. What I wanted was: Tests that run against a real VSCode instance, not mocks. An immutable test workspace, so every test starts from the same files. A log file per test, so I can see what the extension did when a test fails. Principles # Some things I learned the hard way about testing extensions.

VSCode Keep Sorted Extension

··8 mins
VSCode Keep Sorted Extension Note Updated October 2026 for version 1.0.2. This post originally announced the 0.0.1 release in December 2025. Commands, settings, and features below reflect the latest version.