From 7d1fa35589d2cd09d24c26709332c65407572cd3 Mon Sep 17 00:00:00 2001 From: Lokesh Garg Date: Mon, 19 Jan 2026 16:36:22 +0530 Subject: [PATCH 1/3] feat: Add Open VSX publishing to the release workflow --- .github/workflows/release.yml | 20 ++++++++++++++++++++ .vscode/settings.json | 24 ++++++++++++------------ 2 files changed, 32 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b94f590..3d0c21d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -223,6 +223,26 @@ jobs: echo "Extension published to VS Code Marketplace successfully!" + - name: Publish to Open VSX + id: publish_ovsx + continue-on-error: true + env: + OVSX_PAT: ${{ secrets.OVSX_PAT }} + run: | + if [ -z "$OVSX_PAT" ]; then + echo "WARNING: OVSX_PAT secret not found" + echo "Skipping Open VSX publish. To publish to Open VSX, add your Personal Access Token as a secret named OVSX_PAT" + exit 0 + fi + + # Install ovsx if not already installed + npm install -g ovsx + + # Publish to Open VSX + ovsx publish -p $OVSX_PAT + + echo "Extension published to Open VSX successfully!" + - name: Create GitHub Release id: github_release uses: actions/create-release@v1 diff --git a/.vscode/settings.json b/.vscode/settings.json index 6ad5b1e..dc8b80f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,15 @@ // Place your settings in this file to overwrite default and user settings. { - "files.exclude": { - "out": false // set this to true to hide the "out" folder with the compiled JS files - }, - "search.exclude": { - "out": true // set this to false to include "out" folder in search results - }, - // Turn off tsc task auto detection since we have the necessary tasks as npm scripts - "typescript.tsc.autoDetect": "off", - "cssModulesIntellisense.aliases": { - "~": "./src" - }, - "cSpell.words": ["onig", "pcss", "styl", "vsctm"] + "files.exclude": { + "out": false // set this to true to hide the "out" folder with the compiled JS files + }, + "search.exclude": { + "out": true // set this to false to include "out" folder in search results + }, + // Turn off tsc task auto detection since we have the necessary tasks as npm scripts + "typescript.tsc.autoDetect": "off", + "cssModulesIntellisense.aliases": { + "~": "./src" + }, + "cSpell.words": ["onig", "OVSX", "pcss", "styl", "vsctm"] } From 740fe761e04c96d199084d8fb1e418509f896e61 Mon Sep 17 00:00:00 2001 From: Lokesh Garg Date: Tue, 27 Jan 2026 12:45:21 +0530 Subject: [PATCH 2/3] chore: updated EditorConfig --- .editorconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index a0f479e..1271dae 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,8 +12,8 @@ trim_trailing_whitespace = true # TypeScript and JavaScript files [*.{ts,js,tsx,jsx}] -indent_style = tab -indent_size = 4 +indent_style = space +indent_size = 2 # JSON files [*.json] From d078b12eb1831b544a886b30ed61f84228a45a96 Mon Sep 17 00:00:00 2001 From: Lokesh Garg Date: Tue, 27 Jan 2026 13:50:42 +0530 Subject: [PATCH 3/3] chore: updated `cSpell.words` --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index dc8b80f..b2993b7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,5 +11,5 @@ "cssModulesIntellisense.aliases": { "~": "./src" }, - "cSpell.words": ["onig", "OVSX", "pcss", "styl", "vsctm"] + "cSpell.words": ["onig", "ovsx", "pcss", "styl", "vsctm"] }