From e70d979e51bc285bc6bf3784b82592d33a1b2d0a Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Thu, 27 Aug 2026 21:39:02 -0700 Subject: [PATCH] =?UTF-8?q?Release=200.12.0=20=E2=80=94=20the=20indexed-na?= =?UTF-8?q?vigation=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 15 +++++++++++++++ editors/vscode/README.md | 14 +++++++++++++- editors/vscode/package.json | 2 +- 6 files changed, 69 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64e4e80..6150b00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,37 @@ 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.0 — 2026-08-27 + +The indexed-navigation release: find-all-references stops paying a +project scan per request. + +### References become a lookup + +Each indexed file now persists compact reference facts — same-file uses +of its exported declarations, plus unresolved cross-file candidates — +and the workspace index resolves them once into +declaration-to-occurrence postings. `textDocument/references` reads +that posting list and overlays every open buffer's live analysis, so +unsaved additions, deletions and moved declarations stay visible with +no request-time scan: **0.06 ms per request over an 820-file workspace +where the old walk cost 22 ms (~350×)**. The old walk remains rename's +engine and is pinned equal to the indexed answer by test; ambiguity +still degrades to the in-file answer exactly as before. + +### Cursor lookups stop sweeping + +Declaration, reference and macro-token lookups under the cursor — +hover, definition, references entry points — binary-search sorted +position tables instead of scanning every symbol in the buffer, and +`` `include`` definition inspects only the cursor's line. + +### One-time cache rebuild + +The persisted facts format moved to version 2 for the new reference +records. An existing index cache from 0.11.0 is discarded whole on +first open and rebuilt — one re-scan, never a misread record. + ## 0.11.0 — 2026-08-27 The large-workarea release: a project too big to scan is now a project diff --git a/Cargo.lock b/Cargo.lock index dd7d414..32d2fcc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.11.0" +version = "0.12.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.11.0" +version = "0.12.0" [[package]] name = "lucisv_server" -version = "0.11.0" +version = "0.12.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.11.0" +version = "0.12.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.11.0" +version = "0.12.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.11.0" +version = "0.12.0" [[package]] name = "vlog_refactor" -version = "0.11.0" +version = "0.12.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.11.0" +version = "0.12.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 9b2dd05..e54bf06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.11.0" +version = "0.12.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index ceddc94..377799d 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,21 @@ 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.0 — 2026-08-27 + +The indexed-navigation release. + +- **Find All References is now a lookup, not a scan.** The index stores where + every module, package and exported member is used; a references request + reads that list and overlays your unsaved edits — around 0.06 ms on an + 820-file workspace where the previous walk took 22 ms. +- **Hover, definition and references respond faster under the cursor** in + large open files: position lookups binary-search sorted tables instead of + sweeping the buffer. +- **One-time index rebuild.** The on-disk index cache format changed; the + first open after updating re-scans the workspace once (watch the progress + bar), then caching resumes as before. No setting changes. + ## 0.11.0 — 2026-08-27 The large-workarea release: a project too big to scan is now a project lucisv diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 8a9085c..a919582 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.11.0**. Its platform packages include both +The current release is **0.12.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -320,6 +320,18 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.12.0 highlights + +Version 0.12.0 is the indexed-navigation release: + +- Find All References reads precomputed declaration-to-use postings and + overlays your unsaved edits — ~0.06 ms on an 820-file workspace where the + previous project walk took 22 ms. +- Cursor lookups (hover, definition, references) binary-search position + tables instead of sweeping large buffers. +- The index cache format changed: the first open after updating re-scans the + workspace once, then persistent caching resumes. + ## Release 0.11.0 highlights Version 0.11.0 is the large-workarea release: diff --git a/editors/vscode/package.json b/editors/vscode/package.json index d47a67a..270e508 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.11.0", + "version": "0.12.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",