Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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"]
}