Skip to content

Commit

Permalink
Vscode : use latest version of vscode-languageclient and update depen…
Browse files Browse the repository at this point in the history
…dant libraries (Deducteam#1055)

* Vscode : use latest version of vscode-languageclient and update dependant libraries

* pipeline : call generate vscode client.ts script from pipeline

* pipeline: use vsce tool to generate vsix extension file

* pipeline: generate and export vscode extension in pipeline

* pipeline : add publish vscode extension to pipeline workflow
  • Loading branch information
Alidra authored Feb 28, 2024
1 parent e67d58c commit 58b80a9
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 81 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,17 @@ jobs:
eval $(opam env)
#why3 config detect
make tests
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: generate-vscode-extension
run: |
npm install -g @types/vscode
npm install -g vsce
make build-vscode-extension
- name: publish vscode extension
uses: actions/upload-artifact@v2
with:
name: assets-for-download
path: editors/vscode/extensionFolder
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,8 @@ uninstall_vim_mode:
rm -f $(VIMDIR)/syntax/lambdapi.vim
rm -f $(VIMDIR)/ftdetect/dedukti.vim
rm -f $(VIMDIR)/ftdetect/lambdapi.vim

.PHONY: build-vscode-extension
build-vscode-extension:
cd editors/vscode && make && mkdir extensionFolder && vsce package -o extensionFolder

215 changes: 147 additions & 68 deletions editors/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions editors/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"version": "0.2.1",
"publisher": "Deducteam",
"engines": {
"vscode": "^1.37.0"
"vscode": "^1.82.0"
},
"categories": [
"Programming Languages"
Expand Down Expand Up @@ -161,13 +161,13 @@
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.14.15",
"@types/vscode": "^1.37",
"typescript": "^3.3.1"
"@types/node": "^18.18.1",
"@types/vscode": "^1.75.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@vscode/vsce": "^2.20.0",
"@vscode/vsce": "^2.21.1",
"fs-extra": "^9.0.1",
"vscode-languageclient": "5.2.1"
"vscode-languageclient": "^9.0.1"
}
}
Loading

0 comments on commit 58b80a9

Please sign in to comment.