Build and validate the extension package with:
npm install
npm run package:vsixThe VSIX is written to out/ using the extension name and version from package.json.
Install locally with:
code --install-extension out/sqlovely-*.vsixThe package script runs type checking, tests and compilation before invoking the local VSCE binary. The project is published under the MIT license.
Before publishing or attaching a VSIX to a release:
- Update
CHANGELOG.md. - Confirm the version in
package.json. - Run
npm ci. - Run
npm run check. - Run
npm test. - Run
npm run package:vsix. - Install the generated VSIX in VS Code and open a
.sqlfile. - Verify highlighting, the active dialect command, formatting, metadata-header quick fixes and the packaging output.
- Smoke-test metadata headers for multi-object scripts, legacy-header migration, description wrapping, date normalization and
Updated Byvalues. - Smoke-test formatter safety guards with a generated/large SQL file and confirm the SQLovely output channel records skipped expensive passes instead of freezing VS Code.