I publish my Keep Sorted extension to both the Visual Studio Marketplace and Open VSX. I wanted releases to come straight out of GitHub Actions instead of my machine. Getting there took more trial and error than I expected, so here is the setup in a form you can copy into your own extension.
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 Note Updated October 2026 for version 1.0.3. This post originally announced the 0.0.1 release in December 2025. Commands, settings, and features below reflect the latest version.