From 75d2d376cf6863babd7c9ab7e2a10b6bb9a63ccd Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Wed, 14 Oct 2026 14:56:33 -0700 Subject: [PATCH] Release 0.61.0: call hierarchy from anywhere with function/task nodes, type hierarchy inside classes, full-line references view in VS Code Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both package-lock.json spots); the notes are in CHANGELOG.md (## 0.61.0) and editors/vscode/CHANGELOG.md. Gates on the tree: fmt and clippy -D warnings clean, lucisv_server 1 862 passed 0 failed, per-crate suites green at ca83f6f, node tests 8/8; CI checks green on 31b7db1. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 46 ++++++++++++++++++++++++++++++++ Cargo.lock | 18 ++++++------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 11 +++++++- editors/vscode/README.md | 10 ++++++- editors/vscode/package-lock.json | 4 +-- editors/vscode/package.json | 2 +- 7 files changed, 78 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4649d41..3024daa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,52 @@ 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.61.0 — 2026-10-14 + +### Call hierarchy from anywhere, functions and tasks as nodes; full-line references in VS Code + +(`docs/features/call-hierarchy-everywhere`, `docs/features/vscode-references-view`.) + +- **`textDocument/prepareCallHierarchy` answers from any position in a + body.** It answered only on a module name, so Show Call Hierarchy was empty + almost everywhere. Now: an instance name prepares the instantiated module; + a function or task's declaration, call or end label prepares a + `Function`/`Method` item; a position inside a function or task body + prepares that function or task; one inside a module, interface or program + prepares the enclosing module. Module items answer exactly as before. +- **Functions and tasks are call-hierarchy nodes.** `incomingCalls` lists + every call site, grouped by the enclosing function or task (else the + module, interface, program, package or class), over the same files + `references` reads; `outgoingCalls` lists the resolved callees, skipping + system tasks and unresolved names. A function's own name read inside its + body (`clog2 = clog2 + 1`) is its result variable, not recursion. Calls + through `this.`, `super.`, a typed handle and an `import` resolve; virtual + dispatch and calls inside macro bodies are not modelled. +- **`textDocument/prepareTypeHierarchy`** answers the enclosing class + anywhere inside a class body, and the base class on `super`. +- **VS Code: Find All References with whole lines.** VS Code's references + pane starts each preview a few characters before the match. The extension's + new **References** view (lucisv sidebar) lists every reference's full line + with the identifier highlighted, grouped by file, the declaration marked; + `Shift+Alt+F12` opens it in Verilog/SystemVerilog editors while + `lucisv.references.fullLineView` is on (the default). Closed files are read + without opening them on the server. + +### Review fixes and housekeeping + +- The closing-label fallback of an unnamed block no longer attaches a + mismatched `end : a` (or an `endfunction : g` beside block `g`) to a + same-named block. +- `duplicate-declaration` reports sibling `for` generate blocks of one label, + and a procedural block beside a generate block in either order. +- Rename warnings: a comment between `.` and the name is still a path; a file + that fails to lex is warned about instead of skipped. +- Refactoring messages name a file by its path wherever another file shares + its base name (the `.*` expansion, ANSI conversion, inline and extract too). +- `lucisv_server`'s workspace state is split into seven modules (a pure + move); `tools/release.sh` refuses to build when the extension's + `package.json` / `package-lock.json` versions disagree with the binaries. + ## 0.60.0 — 2026-10-08 ### Rename and references through a generate block label diff --git a/Cargo.lock b/Cargo.lock index 19e1760..26ad07d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.60.0" +version = "0.61.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.60.0" +version = "0.61.0" [[package]] name = "lucisv_mcp" -version = "0.60.0" +version = "0.61.0" dependencies = [ "lucisv_core", "serde", @@ -126,7 +126,7 @@ dependencies = [ [[package]] name = "lucisv_server" -version = "0.60.0" +version = "0.61.0" dependencies = [ "lsp-server", "lsp-types", @@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.60.0" +version = "0.61.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.60.0" +version = "0.61.0" dependencies = [ "lucisv_core", "vlog_formatter", @@ -279,11 +279,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.60.0" +version = "0.61.0" [[package]] name = "vlog_refactor" -version = "0.60.0" +version = "0.61.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -292,7 +292,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.60.0" +version = "0.61.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 9054686..e8875a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ members = [ ] [workspace.package] -version = "0.60.0" +version = "0.61.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 3bc2447..58c9799 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,8 +5,17 @@ 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). -## Unreleased +## 0.61.0 — 2026-10-14 +- **Show Call Hierarchy works from where your cursor is.** It used to answer + only on a module name and otherwise showed nothing. Now an instance name + shows the module it instantiates; anywhere inside a module shows that + module (who instantiates it, what it instantiates); and a **function or + task** — its declaration, a call, or anywhere in its body — is a node of + its own: **Incoming Calls** lists every caller (the calling function, task + or module, across files), **Outgoing Calls** what it calls. +- **Show Type Hierarchy** answers from anywhere inside a class, and on + `super` it starts at the base class. - **Find All References shows whole lines.** `Shift+Alt+F12` in a Verilog/SystemVerilog editor now opens lucisv's own **References** view in the lucisv sidebar: one group per file (the current file first), every diff --git a/editors/vscode/README.md b/editors/vscode/README.md index c45131f..d77533f 100644 --- a/editors/vscode/README.md +++ b/editors/vscode/README.md @@ -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.60.0**. Its platform packages include +The current release is **0.61.0**. Its platform packages include `lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see [Agents (MCP)](#agents-mcp)): @@ -406,6 +406,14 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.61.0 highlights + +Version 0.61.0 makes Show Call Hierarchy answer from wherever the cursor is +— an instance, a module body, or a function or task, which are now nodes +with their own callers and callees — and adds a References view that shows +every reference's whole line instead of VS Code's clipped preview +(`Shift+Alt+F12`; `lucisv.references.fullLineView` turns it off). + ## Release 0.60.0 highlights Version 0.60.0 makes a generate block label a real name: renaming it diff --git a/editors/vscode/package-lock.json b/editors/vscode/package-lock.json index 89c9e8f..fca1119 100644 --- a/editors/vscode/package-lock.json +++ b/editors/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "lucisv", - "version": "0.60.0", + "version": "0.61.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lucisv", - "version": "0.60.0", + "version": "0.61.0", "license": "MIT", "dependencies": { "vscode-languageclient": "9.0.1" diff --git a/editors/vscode/package.json b/editors/vscode/package.json index b6fb98e..f76372f 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -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.60.0", + "version": "0.61.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",