Skip to content

Commit

Permalink
Merge pull request #290 from 1c-syntax/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 authored Oct 17, 2024
2 parents 2b37f88 + 251667c commit 6bedf3a
Show file tree
Hide file tree
Showing 15 changed files with 6,857 additions and 880 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@ jobs:
with:
node-version: '16'
- run: npm install
- name: Build package
run: npx vsce package
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
id: publishToOpenVSX
with:
pat: ${{ secrets.OVSX_TOKEN }}
skipDuplicate: true
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VSCE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}
skipDuplicate: true
- name: Upload vsix to release
uses: AButler/[email protected]
with:
files: '*.vsix'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: lannonbr/vsce-action@master
if: github.event.release.prerelease == false
with:
args: "publish -p $VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
9 changes: 9 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
workspaceFolder: 'test/fixtures',
mocha: {
ui: "bdd"
}
});
15 changes: 5 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.1.0",
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out/src",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceFolder}/out/src/**/*.js"],
"preLaunchTask": "npm"
},
{
"name": "Launch Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["${workspaceRoot}/test/fixtures", "--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
"stopOnEntry": false,
"sourceMaps": true,
"outDir": "${workspaceRoot}/out/test",
"preLaunchTask": "npm"
"args": ["${workspaceFolder}/test/fixtures", "--extensionDevelopmentPath=${workspaceFolder}", "--extensionTestsPath=${workspaceFolder}/out/test" ],
"outFiles": ["${workspaceFolder}/out/test/**/*.js"]
}
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.27.3

* Обновлены правила подсветки языка запросов и языка 1С

## 1.27.2

* Добавлена подсветка #native
Expand Down
Loading

0 comments on commit 6bedf3a

Please sign in to comment.