From 02b420453601bd44710201c5689111cc7221201f Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Sun, 30 Aug 2026 17:17:44 -0700 Subject: [PATCH] =?UTF-8?q?Release=200.19.0=20=E2=80=94=20the=20space-arme?= =?UTF-8?q?d=20ghost,=20every=20module=20answering?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 12 ++++++++++++ editors/vscode/README.md | 10 +++++++++- editors/vscode/package.json | 2 +- 6 files changed, 57 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d947a3..863ce0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,32 @@ 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.19.0 — 2026-08-30 + +Inline instantiation, round 2 — two rulings from first live use. + +**The space is the commitment.** The ghost now appears only after +`name`: `aes` alone may still be growing into `aes_dft`, so the +typed space is what says the name is finished. An exactly-typed name +with the cursor at its end offers nothing; one space arms it; two +spaces or a tab do not. The popup flow is accept the name, type the +space you were going to type anyway, Tab the ghost. + +**Every indexed module answers.** A module declared in more than one +file used to get no ghost (`ast_dft` and `io_osc` are each declared +under both `top_earlgrey` and `top_darjeeling` in opentitan — two +whole IP blocks silenced). The server now picks the declaration +nearest the file being edited: most shared leading path components, +then the shallower copy, then the smallest path — deterministic, and +the popup's detail names the file that will be read. The refusal +residue is a named enum, and the QA sweep proves the ruling: **all +1,131 opentitan module names ghost, zero declines** (199 of them +multiply declared, one of them 61 ways), at 0.05–0.08 ms per +non-matching keystroke and ~0.5 ms per ghost. + +Formatter output unchanged; the bump is the trigger and chooser +behavior. + ## 0.18.0 — 2026-08-30 Inline instantiation: the popup names the module, the ghost writes the diff --git a/Cargo.lock b/Cargo.lock index 80d4575..bed8743 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.18.0" +version = "0.19.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.18.0" +version = "0.19.0" [[package]] name = "lucisv_server" -version = "0.18.0" +version = "0.19.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.18.0" +version = "0.19.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.18.0" +version = "0.19.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.18.0" +version = "0.19.0" [[package]] name = "vlog_refactor" -version = "0.18.0" +version = "0.19.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.18.0" +version = "0.19.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 5e6f3b9..e2686b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.18.0" +version = "0.19.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index e8d085b..9b5f144 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -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.19.0 — 2026-08-30 + +- **The instantiation ghost now waits for a space**: type the module's + full name and then a space — `aes ` ghosts, `aes` alone doesn't, + because you might still be typing `aes_dft`. Accepting the name from + the popup then typing space works the same way. +- **Modules declared in more than one file now ghost too** (they used + to stay silent — `ast_dft`, `io_osc` on opentitan): the ghost uses + the copy nearest the file you're editing, and the popup shows which + file that is. Every module your workspace indexes now expands — + verified against all 1,131 of opentitan's. + ## 0.18.0 — 2026-08-30 - **Type a module's name, get its whole instantiation as ghost text**: diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 4402c56..c7b476c 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.18.0**. Its platform packages include both +The current release is **0.19.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -326,6 +326,14 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.19.0 highlights + +Version 0.19.0 refines the instantiation ghost from live use: it waits +for the space that says the module name is finished, and modules +declared in more than one file now expand from the copy nearest the +file you're editing — every indexed module answers, verified against +all 1,131 of opentitan's. + ## Release 0.18.0 highlights Version 0.18.0 adds two-level module instantiation: the completion diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 394def4..97782a2 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.18.0", + "version": "0.19.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",