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 atca83f6f, node tests 8/8; CI checks green on31b7db1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
31b7db16a3
commit
75d2d376cf
7 files changed
+78
-15
No files matched your search
@@ -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
|
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
|
||||||
(see `README.md`) are the only frozen contract.
|
(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
|
## 0.60.0 — 2026-10-08
|
||||||
|
|
||||||
### Rename and references through a generate block label
|
### Rename and references through a generate block label
|
||||||
|
|||||||
Generated
+9
-9
@@ -97,7 +97,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv"
|
name = "lucisv"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lucisv_core",
|
"lucisv_core",
|
||||||
"rayon",
|
"rayon",
|
||||||
@@ -108,11 +108,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_core"
|
name = "lucisv_core"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_mcp"
|
name = "lucisv_mcp"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lucisv_core",
|
"lucisv_core",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -126,7 +126,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_server"
|
name = "lucisv_server"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lsp-server",
|
"lsp-server",
|
||||||
"lsp-types",
|
"lsp-types",
|
||||||
@@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_formatter"
|
name = "vlog_formatter"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_linter"
|
name = "vlog_linter"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lucisv_core",
|
"lucisv_core",
|
||||||
"vlog_formatter",
|
"vlog_formatter",
|
||||||
@@ -279,11 +279,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_parser"
|
name = "vlog_parser"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_refactor"
|
name = "vlog_refactor"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_formatter",
|
"vlog_formatter",
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
@@ -292,7 +292,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_semantic"
|
name = "vlog_semantic"
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
]
|
]
|
||||||
+1
-1
@@ -13,7 +13,7 @@ members = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.60.0"
|
version = "0.61.0"
|
||||||
authors = ["Guoliang Chen"]
|
authors = ["Guoliang Chen"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -5,8 +5,17 @@ for you. The extension and its bundled language server share one version
|
|||||||
number; the full engineering notes live in the
|
number; the full engineering notes live in the
|
||||||
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
|
[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
|
- **Find All References shows whole lines.** `Shift+Alt+F12` in a
|
||||||
Verilog/SystemVerilog editor now opens lucisv's own **References** view in
|
Verilog/SystemVerilog editor now opens lucisv's own **References** view in
|
||||||
the lucisv sidebar: one group per file (the current file first), every
|
the lucisv sidebar: one group per file (the current file first), every
|
||||||
|
|||||||
@@ -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
|
then open a Verilog or SystemVerilog file. There is no separate server or CLI
|
||||||
setup.
|
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
|
`lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see
|
||||||
[Agents (MCP)](#agents-mcp)):
|
[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
|
## Release 0.60.0 highlights
|
||||||
|
|
||||||
Version 0.60.0 makes a generate block label a real name: renaming it
|
Version 0.60.0 makes a generate block label a real name: renaming it
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "lucisv",
|
"name": "lucisv",
|
||||||
"version": "0.60.0",
|
"version": "0.61.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "lucisv",
|
"name": "lucisv",
|
||||||
"version": "0.60.0",
|
"version": "0.61.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vscode-languageclient": "9.0.1"
|
"vscode-languageclient": "9.0.1"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "lucisv",
|
"name": "lucisv",
|
||||||
"displayName": "lucisv — Verilog/SystemVerilog",
|
"displayName": "lucisv — Verilog/SystemVerilog",
|
||||||
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
|
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
|
||||||
"version": "0.60.0",
|
"version": "0.61.0",
|
||||||
"publisher": "guoliangchen",
|
"publisher": "guoliangchen",
|
||||||
"author": "Guoliang Chen",
|
"author": "Guoliang Chen",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in new issue
Block a user