Release 0.22.0 — class member access
ci / checks (push) Successful in 49s
ci / corpus (push) Successful in 19s
release / build-and-publish (push) Successful in 4m51s

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-09-01 20:19:23 -07:00
1 parent ce2f858e5e
commit 91b7c2fd67
6 files changed
+58 -11

No files matched your search

+28
View File
@@ -4,6 +4,34 @@ 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.22.0 — 2026-09-01
Class member access — the first DV class-semantics round.
`task class2::update(c1 in_item); address = in_item.user_id; …` —
hovering `user_id` used to show nothing. Now the tail of `handle.member`
resolves through the handle's declared type: a new `Symbol::type_name`
records the type as written; the member is found in that class's scope,
else up its `extends` chain in the file, else through the workspace's
member table, which chases `WorkspaceIndex::base_of` — a subclass→base
map built from the inheritance census the index already keeps —
cycle-guarded on both sides. Hover shows `rand bit user_id;` with its
file and line; go-to-definition, find-references (from either end) and
rename follow. `this.x`/`super.x` misses resolve to inherited members
through the same chase (the open handshake since the classes wave), and
an out-of-class method body sees its class's members. `FACTS_FORMAT`
5 → 6 (the reference census grew; older stores are discarded).
Honest by construction: a head whose type is declared in the file as
anything without a member scope — a struct typedef, an alias, an enum —
records nothing rather than reaching the workspace, after QA caught the
first cut answering `bus_t s; s.field` from an unrelated class named
`bus_t` elsewhere. Module-instance heads, chains `a.b.c`, struct fields
and typedef'd class aliases are round 2.
Cost: hover 7–143 µs; on opentitan a `tl_seq_item` member resolves in
0.12 ms cold / 0.01 ms warm; store +2.85 %. Formatter output unchanged.
## 0.21.0 — 2026-09-01
Null items: `endgenerate;` parses — and everywhere else a stray `;` may
Generated
+8 -8
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.21.0"
version = "0.22.0"
[[package]]
name = "lucisv_server"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"lsp-server",
"lsp-types",
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -264,11 +264,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.21.0"
version = "0.22.0"
[[package]]
name = "vlog_refactor"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"vlog_parser",
"vlog_semantic",
@@ -276,7 +276,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -12,7 +12,7 @@ members = [
]
[workspace.package]
version = "0.21.0"
version = "0.22.0"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+12
View File
@@ -5,6 +5,18 @@ 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.22.0 — 2026-09-01
- **Class member access**: hover, go-to-definition, find-references and
rename now work on `handle.member` — the server follows the handle's
declared class, including members inherited through `extends` and
classes defined in other files. `this.x` and `super.x` reach inherited
members too, and a task or function body written outside its class
(`task my_class::run(...)`) sees the class's members.
- A member access through a struct or typedef'd variable stays silent for
now (round 2), never a wrong answer.
- The index store format changed; it rebuilds once after updating.
## 0.21.0 — 2026-09-01
- **`endgenerate;` no longer breaks the file.** A stray semicolon after
+8 -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.21.0**. Its platform packages include both
The current release is **0.22.0**. Its platform packages include both
`lucisv-server` and the `lucisv` command-line tool:
| Package target | Machines |
@@ -326,6 +326,13 @@ Every nesting color is a proper VS Code theme color:
}
```
## Release 0.22.0 highlights
Version 0.22.0 brings class member access to the language server: hover,
go-to-definition, references and rename now follow `handle.member`
through the handle's declared class — inherited members included, across
files — and out-of-class method bodies see their class's members.
## Release 0.21.0 highlights
Version 0.21.0 accepts null items — `endgenerate;`, `end;`,
+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.21.0",
"version": "0.22.0",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",