diff --git a/CHANGELOG.md b/CHANGELOG.md index 6150b00..13e21e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,19 @@ 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.12.1 — 2026-08-27 + +Hover shows the cross-file declaration itself. A name declared in +another file — a port at an instantiation, a module instance, a package +member — now renders its declaration's source line, fenced and +highlighted, under the existing "declared in `file:line`" heading: +direction, type and width for a port, the header line for a module. +Snippets come from the live buffer when the declaring file is open +(unsaved edits included) and from disk otherwise, with a +boundary-checking guard that drops the snippet rather than ever +showing a wrong line, and caps of 5 lines / 400 characters for +netlist-sized declarations. No settings and no index format change. + ## 0.12.0 — 2026-08-27 The indexed-navigation release: find-all-references stops paying a diff --git a/Cargo.lock b/Cargo.lock index 32d2fcc..4044619 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.12.0" +version = "0.12.1" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.12.0" +version = "0.12.1" [[package]] name = "lucisv_server" -version = "0.12.0" +version = "0.12.1" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.12.0" +version = "0.12.1" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.12.0" +version = "0.12.1" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.12.0" +version = "0.12.1" [[package]] name = "vlog_refactor" -version = "0.12.0" +version = "0.12.1" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.12.0" +version = "0.12.1" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index e54bf06..15a7ae9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.12.0" +version = "0.12.1" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 377799d..d23bfa8 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,15 @@ 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.12.1 — 2026-08-27 + +- **Hover shows the declaration itself.** Hovering a name declared in another + file — a port at an instantiation, a module instance, a package parameter + or typedef — now shows its declaration's source line (direction, type, + width), syntax-highlighted, under the "declared in" location. Unsaved edits + in the declaring file are reflected live; very long declarations are + trimmed with a note. + ## 0.12.0 — 2026-08-27 The indexed-navigation release. diff --git a/editors/vscode/README.md b/editors/vscode/README.md index a919582..2bb596d 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.12.0**. Its platform packages include both +The current release is **0.12.1**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -320,6 +320,12 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.12.1 highlights + +Version 0.12.1 makes hover answer the question directly: a cross-file name +shows its declaration's own source line — `input logic [7:0] addr` for a +port, the header line for a module — not just the file and line it lives in. + ## Release 0.12.0 highlights Version 0.12.0 is the indexed-navigation release: diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 270e508..17e759b 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.12.0", + "version": "0.12.1", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",