Skip to content

Commit 59b304a

Browse files
committed
updates VSCode extension
1 parent ca82155 commit 59b304a

15 files changed

Lines changed: 1282 additions & 1190 deletions

File tree

‎build.gradle‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ buildscript {
1616
apply plugin: 'com.github.node-gradle.node'
1717
apply plugin: 'net.researchgate.release'
1818
node {
19-
version = '16.13.2'
20-
npmVersion = '8.3.0'
19+
version = '20.19.5'
20+
npmVersion = '10.8.2'
2121
download = true
2222
}
2323

@@ -40,7 +40,7 @@ configure(subprojects.findAll { it.name.startsWith('com.minres') }) {
4040
apply plugin: 'eclipse'
4141

4242
group = 'com.minres.coredsl'
43-
version = '2.0.16'
43+
version = '2.0.21'
4444

4545
java {
4646
sourceCompatibility = JavaVersion.VERSION_17
@@ -54,24 +54,24 @@ configure(subprojects.findAll { it.name.startsWith('com.minres') }) {
5454
}
5555

5656
task npmInstallVsce(type: NpmTask, dependsOn: npmSetup) {
57-
ext.destPath = "$rootProject.projectDir/node_modules/vsce"
57+
ext.destPath = "$rootProject.projectDir/node_modules/@vscode/vsce"
5858
outputs.dir(destPath)
5959
group 'Node'
6060
description 'Installs the NodeJS package "Visual Studio Code Extension Manager"'
61-
args = [ 'install', 'vsce' ]
61+
args = [ 'install', '@vscode/vsce' ]
6262
}
6363

6464
// Configuration for vscode projects
6565
configure(subprojects.findAll { it.name.startsWith('vscode') }) {
6666

6767
apply plugin: 'com.github.node-gradle.node'
6868
node {
69-
version = '16.13.2'
70-
npmVersion = '8.3.0'
69+
version = '20.19.5'
70+
npmVersion = '10.8.2'
7171
download = true
7272
}
7373

74-
version = '2.0.16'
74+
version = '2.0.21'
7575

7676
def inputFiles = fileTree(
7777
dir: projectDir,
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
.gitignore
2+
.project
3+
.vscode/**
24
.gradle/**
35
build/**
4-
*.gradle
6+
*.gradle
7+
tslint.json
8+
src/extension.ts
9+
src/tsconfig.json
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# CoreDSL
2+
3+
CoreDSL 2 is a domain-specific language to model processor cores at the level of their instruction set architecture (ISA). Its use cases include the generation of ISA-specific artifacts for compilers, instruction set simulators (ISS) and other validation purposes, as well as the user-friendly specification of custom ISA extensions (ISAX) in conjunction with a high-level synthesis (HLS) tool.
4+
5+
The VSCode extension provides a language server for the [CoreDSL](https://github.com/Minres/CoreDSL) language which resolves cross references and validates the syntax.
6+
7+
## Language documentation
8+
9+
[Programmer's manual](https://github.com/Minres/CoreDSL/wiki/CoreDSL-2-programmer's-manual)
10+
11+
## Standalone validator
12+
13+
The project provides a standalone validator as part of the releases, the bundle com.minres.coredsl.validator-2.Y.ZZ.jar contains an all-in-one jar for the validator. It can be used after downloading as follows:
14+
15+
```
16+
java -jar com.minres.coredsl.repository/target/com.minres.coredsl.validator-2.Y.ZZ.jar -r <path to inc dir> <core_desc file>
17+
```

‎vscode-extension-self-contained/build.gradle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ task startCode(type:Exec, dependsOn: installExtension) {
3232
}
3333

3434
task publish(dependsOn: vscodeExtension, type: NodeTask) {
35-
script = file("$rootProject.projectDir/node_modules/vsce/out/vsce")
35+
script = file("$rootProject.projectDir/node_modules/@vscode/vsce/vsce")
3636
args = [ 'publish', '-p', System.getenv('ACCESS_TOKEN'), "--packagePath", "${project.buildDir}/coredsl-vscode-${project.version}.vsix"]
3737
execOverrides {
3838
workingDir = projectDir
3939
}
40-
}
40+
}

0 commit comments

Comments
 (0)