Skip to content

Commit 8d7c8f5

Browse files
committed
update systemverilog syntax highlight
1 parent d24ea95 commit 8d7c8f5

File tree

6 files changed

+1641
-516
lines changed

6 files changed

+1641
-516
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66

7+
## [1.14.0] - 2024-04-19
8+
9+
## Changed
10+
11+
- Update SystemVerilog syntax highlighting
12+
713
## [1.13.5] - 2024-03-25
814

915
### Changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,5 @@ You can check it by opening the **Output** pane in VS Code and choose _Verilog_
335335
- [slang C++ docs](https://sv-lang.com/)
336336
- [bitwisecook/vscode-tcl: Tcl for Visual Studio Code](https://github.com/bitwisecook/vscode-tcl)
337337
- `configs/tcl.configuration.json` and `syntaxes/tcl.tmlanguage.json` are obtained from the repo.
338+
- [eirikpre/VSCode-SystemVerilog: SystemVerilog support in VS Code](https://github.com/eirikpre/VSCode-SystemVerilog)
339+
- SystemVerilog syntax is obtained from the repo.

package-lock.json

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,21 +523,23 @@
523523
"compile-tests": "tsc -p . --outDir out",
524524
"watch-tests": "tsc -p . -w --outDir out",
525525
"lint": "eslint src --ext ts",
526-
"vscode:prepublish": "npm run esbuild-base -- --minify",
526+
"vscode:prepublish": "npm run compile && npm run esbuild-base -- --minify",
527527
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/main.js --external:vscode --format=cjs --platform=node",
528528
"esbuild": "npm run esbuild-base -- --sourcemap",
529529
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
530530
"test-compile": "tsc -p ./",
531-
"compile": "tsc -p ./",
531+
"compile": "npm run syntax && tsc -p ./",
532532
"package": "vsce package",
533533
"watch": "tsc -w -p ./",
534+
"syntax": "js-yaml ./syntaxes/systemverilog.tmLanguage.yaml >./syntaxes/systemverilog.tmLanguage.json",
534535
"makeBsv": "antlr4ts -visitor syntaxes/bsv.g4 -o src/bsvjs",
535536
"pretest": "npm run compile-tests && npm run compile && npm run lint",
536537
"test": "node ./out/src/test/bsv.js"
537538
},
538539
"dependencies": {
539540
"antlr4": "^4.13.1-patch-1",
540541
"antlr4ts": "^0.5.0-alpha.4",
542+
"js-yaml": "^4.1.0",
541543
"semver": "^7.6.0",
542544
"vscode-languageclient": "^9.0.1",
543545
"which": "^4.0.0"

0 commit comments

Comments
 (0)