Release 0.65.0: module instantiation syntax highlighting
release / build-and-publish (push) Successful in 3m40s
ci / corpus (push) Successful in 21s
ci / checks (push) Failing after 10s

Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.0) and
editors/vscode/CHANGELOG.md. TODO §69.
Gates: no local cargo/tools/gates.sh run on this Windows host (the release
relies on Gitea CI). Locally: all 10 VS Code extension node tests pass
(including the new semanticTokens_test.js, 75 checks).
This commit is contained in:
lucio committed 2026-11-19 02:40:10 -08:00
1 parent e4db0ac1fc
commit 464929262b
7 files changed
+67 -14

No files matched your search

+32
View File
@@ -4,6 +4,38 @@ All notable changes to lucisv are recorded here. Versions follow
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
(see `README.md`) are the only frozen contract.
## 0.65.0 — 2026-11-19
### Module instantiation syntax highlighting
(`docs/features/instantiation-highlighting`; TODO §69.)
- **Every part of a module instantiation gets its own colour.** Module names,
instance names, `.PARAM` overrides, `.port` names and connected signals used
to collapse to the same default foreground colour whenever the instantiated
module lived in another file or a theme left bare semantic tokens unstyled.
The language server now layers AST-guided semantic token overrides (and
cross-file `ExternalResolutions` lookups) over the existing 14-type legend:
- **Module / interface names** (`uart_core`, `pkg::uart_core` with `pkg` as
`namespace`, and lone `bind` targets) highlight as `class`.
- **`#` and parameters share one colour** (`parameter`), distinct from `()`:
the `#` introducing a module, class, `extends`, instantiation or
parameterized-type parameter list, every `.PARAM` override (`.` and name),
and parameter values inside `#(...)` all carry `parameter`. Delay `#`
tokens (`#5`, `#(1:2:3)`) are left unemitted.
- **Instance names** (`u_uart`, gate instances, `bind` instance lists, and
hierarchical uses like `u_uart.sig`) highlight as `function`.
- **Port names** (`.clk_i` dot and name, implicit `.rst_ni`, and wildcard
`.*`), including unfinished entries being typed, highlight as `property`.
- **Port connections** (`clk`, `data_q`) stay `variable` so signals keep one
consistent colour across the file.
- **VS Code: semantic highlighting on by default with theme-safe scope maps.**
`configurationDefaults` enables `editor.semanticHighlighting.enabled` for
`[verilog]` and `[systemverilog]` (user settings still win), and
`contributes.semanticTokenScopes` maps the language's semantic token types to
distinct TextMate scopes so every role renders in colour across Dark+, Dark
Modern, Light+, GitHub Dark, One Dark Pro and Visual Studio Dark.
## 0.64.0 — 2026-11-17
### Completion that keeps up with typing
Generated
+9 -9
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.64.0"
version = "0.65.0"
[[package]]
name = "lucisv_mcp"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"lucisv_core",
"serde",
@@ -126,7 +126,7 @@ dependencies = [
[[package]]
name = "lucisv_server"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"lsp-server",
"lsp-types",
@@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"lucisv_core",
"vlog_formatter",
@@ -279,11 +279,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.64.0"
version = "0.65.0"
[[package]]
name = "vlog_refactor"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -292,7 +292,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.64.0"
version = "0.65.0"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -13,7 +13,7 @@ members = [
]
[workspace.package]
version = "0.64.0"
version = "0.65.0"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+13
View File
@@ -5,6 +5,19 @@ for you. The extension and its bundled language server share one version
number; the full engineering notes live in the
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
## 0.65.0 — 2026-11-19
- **Module instantiations are now colour-coded by role.** Module names
(`class`), instance names (`function`), port names (`.clk_i` and `.*`,
`property`), and connected signals (`variable`) each take a distinct colour
instead of blending together in white.
- **`#` shares the parameter colour**, separate from `()`: the `#` before a
parameter header or override list, `.PARAM` names, and parameter values
highlight together as `parameter`, while `#5` delays stay untouched.
- **Semantic highlighting works out of the box across themes.** The extension
now enables `editor.semanticHighlighting.enabled` by default for Verilog and
SystemVerilog and provides distinct TextMate fallback scopes for every role.
## 0.64.0 — 2026-11-17
- **`begin` + Enter writes the `end`.** The cursor lands on the indented
+9 -1
View File
@@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view,
then open a Verilog or SystemVerilog file. There is no separate server or CLI
setup.
The current release is **0.64.0**. Its platform packages include
The current release is **0.65.0**. Its platform packages include
`lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see
[Agents (MCP)](#agents-mcp)):
@@ -421,6 +421,14 @@ Every nesting color is a proper VS Code theme color:
}
```
## Release 0.65.0 highlights
Version 0.65.0 gives module instantiations distinct syntax colours across
themes: module names (`class`), instance names (`function`), port names
(`.port` / `.*`, `property`), and connected signals (`variable`) each stand
out, and parameter-list `#` signs share the `parameter` colour separately from
parentheses.
## Release 0.64.0 highlights
Version 0.64.0 makes typing quicker: `begin` + Enter writes the `end`,
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "lucisv",
"version": "0.64.0",
"version": "0.65.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "lucisv",
"version": "0.64.0",
"version": "0.65.0",
"license": "MIT",
"dependencies": {
"vscode-languageclient": "9.0.1"
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "lucisv",
"displayName": "lucisv — Verilog/SystemVerilog",
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
"version": "0.64.0",
"version": "0.65.0",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",