Files
lucisv/editors/vscode/CHANGELOG.md
T
lucioandClaude Fable 5 24b0dd9912
ci / checks (push) Successful in 46s
ci / corpus (push) Successful in 18s
Docs debt from the wave: changelog fold, coverage correction, stale non-goal
The extension changelog's outside-edit "Unreleased" section described
the hierarchy sidebar 0.15.0 had already shipped — folded into that
entry, keeping its two specifics the entry lacked. syntax_coverage.md
carries the mop-up's correction (bucket 6 was system-function casting
types, never drive strengths; bucket 12 is six files) and is committed
as the pre-wave snapshot it is. ansi-first-port's deliberate non-goal
for virtual bus_if.mp is un-staled: the mop-up delivered it through
this feature's own gate, the narrow way the item asked for.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 15:42:28 -07:00

18 KiB
Raw Blame History

Changelog

What each release of the lucisv — Verilog/SystemVerilog extension changed for you. The extension and its bundled language server share one version number; the full engineering notes live in the project changelog.

0.16.0 — 2026-08-29

The testbench-syntax release.

  • DV and testbench code parses much better: out-of-class constraints (constraint C::name {...}), `ifdef blocks that split an assign or an instantiation, and more — 51 additional files of a 3,943-file opentitan checkout now parse and format, and the bogus-diagnostic cascades those files produced in the editor are gone.
  • Comment-handling formatter fixes: comments trailing end, inside condition parentheses, and default; case items all format faithfully now.
  • No settings or index changes; caches re-verify once after updating.

0.15.0 — 2026-08-29

The interactive-latency release.

  • Everything on the cursor's path is fast now, measured on a 3 976-file opentitan checkout: the lightbulb 3.1 s → 7 ms, F2 2.9 s → instant, rename 6.4 s → ~0.1 s, completion 34–66 → 3–15 ms per keystroke, and occurrence highlighting actually works on cross-file names.
  • A new design-hierarchy sidebar (contributed by codex): modules and their instances in the Activity Bar, instant in-memory search over the whole design (ranked, capped, never per-keystroke to the server), workspace bookmarks, full-path copy, and split-right definition opening. Collapsed by default; your expansion survives refreshes.
  • Out-of-box answers: lucisv.index.scopeDepth now defaults to 2, so opening a file indexes its whole block — cross-file hover, definition and references work immediately. Set it to 0 for the old single-folder behavior.
  • lucisv.verbose: flip it on and every operation logs its cost in the lucisv output channel; flipping it restarts the server safely.
  • One-time index rebuild on first open after updating (store format gained the sidebar's position data).

0.14.0 — 2026-08-28

The first-hover release.

  • The first hover of a session answers in ~15 ms, not hundreds — the server now answers requests while the workspace scan is still running, with your open file indexed first.
  • Repeat hovers into closed files are ~1 µs. Declaration line numbers live in the index (a few KB even for tens of thousands of modules, ports included), and a closed file's text is read once and cached, not re-read per hover.
  • One-time index rebuild on first open after updating — the index format gained the line numbers.

0.13.1 — 2026-08-28

The F12-latency release.

  • Find References with a huge file open is ~30× faster (3.2 ms → 0.11 ms on a 70 000-reference buffer), and in-file references and occurrence highlighting on heavily used signals are ~40 % faster.
  • Jumping into a new folder is ~10× faster. The index rescan that a scope-widening jump triggers now reuses what your open buffers already analyzed instead of re-parsing them: ~228 ms → ~23 ms with a 1.4 MB file open.
  • Pathologically nested files can no longer crash the tools. ~500 nested begin/end (or case, fork, generate…) blocks now produce an ordinary "nesting too deep" diagnostic on every platform, including Windows, instead of risking an abort.

0.13.0 — 2026-08-28

  • Typing no longer reanalyzes on every keystroke. The buffer's analysis is deferred to the first moment anything needs it, so a burst of typing costs one reanalysis instead of one per key. Half-typed lines stop flashing squiggles that vanish a keystroke later. In a 10 000-line file a keystroke now round-trips in 37.6 ms.
  • Old-style ports hover properly. A port named in the module header and completed in the body (input signed [31:0] data_in;) now shows both places on one card — the header line and the declaration carrying its direction, type and width — with the comments that document each of them. Go-to-definition offers both, body declaration first. Works across files, and for old-style task and function arguments too.
  • Faster hover and cursor answers. Hovering into a closed file reads it once instead of twice, and expand-selection, on-type formatting, completion and inline templates find the token at your cursor by binary search rather than by scanning the file. No answer changed.
  • The index cache's format changed, so the first session after upgrading rebuilds it.

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.

  • 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 keeps up with.

  • Open-file-first indexing. lucisv.index.scope defaults to folder — the index covers the folders your open files live in, and widens as you open more. lucisv.index.scopeDepth starts the climb higher, so a file in rtl/ can also index include/ beside it. Cross-file answers are scope-relative until the scope reaches a folder; a lucisv.filelist still puts the whole project in scope, and "lucisv.index.scope": "workspace" restores the previous whole-workspace walk exactly.
  • A size cap on the folder scan. lucisv.index.maxFileSize (1 MiB by default, 0 disables) keeps generated netlists out of the index. A file you open is always indexed in full.
  • The indexing progress bar counts, naming the file it is on with a real n/total and percentage instead of an indeterminate spinner.
  • A per-file log in the lucisv output channel, on by default (lucisv.index.logFiles): every file as it is indexed or restored from cache, every file the size cap skipped, and a closing count of all three.
  • A save updates one file, not the workspace. Saving a file the index already holds replaces only that file's contribution, with no rescan and no progress bar — ~45× faster on an 860-file workspace (debug build; release is faster still). Instantiation counts, incoming calls and subtype lists became lookups in the same change, so code lenses over a whole file cost a fraction of a millisecond.
  • A persistent index cache. lucisv.index.persist (on by default) stores what indexing each file found, keyed by that file's exact contents, so reopening a workspace — or reopening it after a crash mid-scan — resumes instead of restarting. A stale or damaged record costs a re-parse and can never change an answer. lucisv.index.cachePath moves the store; empty means the extension's own per-workspace storage folder.
  • Large-file mode. Above lucisv.largeFile.threshold (4 MiB) an opened file is never parsed, analyzed or indexed, so a 100 MB netlist opens instantly. You keep syntax coloring of the viewport plus go-to-definition and find-references within that file by text scan; diagnostics, formatting, symbols, folding, rename, hover and completion answer nothing, and formatting says so rather than failing quietly.

0.10.2 — 2026-08-27

  • A seventh package, all, carries every platform's server and CLI in one file — for mixed fleets, internal mirrors, and Alpine, which VS Code never offers a Linux package to. About 13 MB against 3 MB, and nothing else changes.
  • The Marketplace page is rewritten for end users: install matrix, capability tables, snippet library, settings ladder, troubleshooting, icon and diagrams.
  • Troubleshooting now names the duplicate-hover trap: the pre-rename vfmt extension left installed beside lucisv attaches a second language server, so every hover and diagnostic appears twice. Uninstall vfmt and reload.

0.10.1 — 2026-08-27

  • Install in one step. Five platform packages — darwin-arm64, darwin-x64, linux-x64, linux-arm64, win32-x64 — embed that platform's lucisv-server and lucisv. Nothing to build, nothing to put on PATH.
  • Both Linux packages are statically linked, so they run on any distro; linux-arm64 is a new target.
  • Server resolution is explicit lucisv.serverPath first, then the bundled binary, then PATH — so pointing at your own build still works, and clearing the setting returns to the bundled server.
  • The binary-free universal .vsix remains as a fallback for platforms without a package.

0.10.0 — 2026-08-27

  • Go to type definition: variable to typedef, handle to class, instance to module, signal to interface, across files.
  • Type hierarchy: supertypes and subtypes over class extends.
  • Linked editing keeps closing labels (endmodule : m, end : blk) in step with their opener.
  • Code lenses show a workspace-wide instantiation count above every module; click to jump to a site.
  • On-type formatting: typing ; reformats the finished statement, and a newline indents the new line.
  • Renaming a file rewrites every `include that resolves to it, refusing rather than guessing when no safe spelling exists; directory renames too.
  • Multi-range formatting, workspace folders added or removed mid-session, and configuration pulled by modern clients.
  • Interface ports written without a direction (module m (bus_if bus, input logic clk);) now parse, so those files format and analyze.

0.9.0 — 2026-08-26

  • Incremental text sync: a keystroke sends the changed range, not the whole file.
  • Semantic tokens by range and delta, so large files color the viewport first and edits re-send only what moved.
  • An indexing progress bar on every workspace rescan, with an honest file count when it comes down.
  • Format on save over the protocol for editors without a native one, as lucisv.formatOnSave — leave it off in VS Code, which already formats through lucisv.
  • Requests you have already outrun are cancelled instead of computed.

0.8.0 — 2026-08-26

  • The port commands actually edit now. lucisv.addPort, lucisv.removePort and lucisv.propagatePorts invoked as commands did nothing in stock clients; they now apply their edit as one labelled, undoable workspace edit and report a refusal. The lightbulb path was never affected.
  • Pull diagnostics for clients that ask for them, from the same parse and lint pass as the push model — never both for one client.
  • Expand selection grows from identifier to statement to begin/end to process to module to file, and keeps working in half-edited files.

0.7.2 — 2026-08-26

  • A formatting fix: a stale column measurement after multi-line raw text (a string across a line break, a #( ... ) type reference) forced a spurious break on the rest of the line.
  • Documentation corrections across the project README.

0.7.1 — 2026-08-26

  • `ifdef regions whose arms are each half a construct now format instead of erroring, preserved as exact source bytes with the first line re-indented. Real-world corpus coverage went from 97.6% to 99.1% of 820 files.
  • Releases are built and published automatically, with the .vsix and checksums attached to each tag.

0.7.0 — 2026-08-25

  • Ghost text lands aligned. An accepted inline template's end no longer arrives one indent too deep; bodies are placed with the editor's own tab size and insert-spaces settings.
  • More constructs finish themselves: case/casez/casex with arms and endcase, for with a dialect-correct header, while, always_ff @( with a clock, always @( offering the clocked shape first (Alt+] cycles), fork, generate, and module with a named endmodule.

0.6.0 — 2026-08-25

  • Inline templates (ghost text). Type if ( and grey ) begin … end appears behind the cursor; Tab accepts it as a snippet, landing in the condition first and the body second. Offered only while the construct is genuinely unclosed, never inside a comment or a string. lucisv.inlineTemplates: false turns it off.
  • Scope matching — the rainbow, the missing-end diagnostic and the ghost-text gate — is linear now: 8,000 nested begins went from 629 ms to 2.3 ms per pass, on a path that runs at every keystroke.

0.5.0 — 2026-08-25

The navigation release.

  • Find references across files for every symbol the workspace index holds — modules, packages, exported members, ports. Local signals stay local.
  • Document highlights for a name's declaration and every use of it in the file, and folding ranges for every matched scope pair plus multi-line block comments.
  • Inlay hints draw each port and parameter name before the expression it belongs to in ordered connections — and draw nothing rather than a guess wherever the site is ambiguous.
  • `include is clickable, resolved through the including file's own directory and the filelist's +incdir+ rules in order.
  • Module hierarchy over the call hierarchy view: who instantiates this module, and what does it instantiate.
  • Hover expands a macro call one step, with the call site's arguments substituted into the body.
  • The index now follows the disk — a git pull, a branch checkout or a generator's output refreshes it, not just a save.

0.4.2 — 2026-08-24

  • #200 is a delay, not a color. VS Code's built-in color decorators were painting RGB swatches on delay controls; the extension now defaults editor.defaultColorDecorators to never for [verilog] and [systemverilog]. It is a default, so you can override it back.

0.4.1 — 2026-08-24

  • Hover cards are syntax highlighted. The extension now contributes a TextMate grammar for both languages — comments, strings, based and real literals, system tasks, directives, macro uses and all 181 keywords — so hover snippets and completion documentation are colored instead of flat grey.
  • The same grammar colors a buffer before the server starts, in files the server does not index, and in diffs and git previews. Semantic tokens still win wherever the server is running.

0.4.0 — 2026-08-24

  • Completion offers templates, not just words. if begin/end, if/else, else if, case, casez, for, while, always_ff (with and without an async reset), always_comb, always @(...), initial and the everyday declarations, each gated by cursor position and by dialect so a .v file is never offered logic.
  • The extension's own static snippets shed the nine that would otherwise have been offered twice; the file-level templates (module, tb, fsm, interface, guard and the rest) stay, and still work with no server running.

0.3.1 — 2026-08-24

  • The begin/end rainbow no longer makes keywords invisible. It painted with VS Code's bracket colors, three of which default to fully transparent, so nesting depths 3–5 vanished. The rainbow now uses its own theme colors, lucisv.rainbow1 … lucisv.rainbow6, with opaque defaults for dark, light and high-contrast themes — still overridable in workbench.colorCustomizations.
  • Unmatched delimiters are colored too, in lucisv.rainbowUnmatched: a fresh begin reads as an error until its end exists.

0.3.0 — 2026-08-24

The refactoring release.

  • Rename across files for every symbol the semantic layer resolves, from nets and ports to modules, packages and class members — refusing rather than guessing on a collision, an invalid identifier, or any file that would stop parsing.
  • Module signature changes as code actions and commands: add a port, remove a port, propagate ports — each updating every affected instantiation.
  • Module instantiation completion: typing a module name at item position writes the whole instantiation, with same-named signals already bound and the rest as tab stops, plus signature help inside port and parameter lists.
  • Completion now offers the scope's own declarations, what the project declares, every keyword, and finally every identifier used in the project — never inside a comment or a string.
  • lucisv.filelist: point lucisv at an EDA .f filelist and it indexes exactly the files your build names.

0.2.0 — 2026-08-19

The first released version: formatting, linting and a language server for Verilog-2001 and the synthesizable SystemVerilog subset.

  • Document formatting with a width-aware, deterministic style — and a safety net that re-lexes and re-formats every result, discarding it and leaving the file untouched if anything disagrees. Comments are never dropped; // verilog_format: off / on fences are preserved byte for byte.
  • Live diagnostics: parse errors and lint warnings in one publish per change, with quick fixes and source.fixAll.lucisv for fix-on-save.
  • Navigation and understanding: hover with declaration snippets and `define expansion, go to definition, in-file references, document and workspace symbols, and semantic highlighting.
  • Waivers in Verible's spelling, so code already annotated for Verible lints unedited.
  • The extension registers .v/.vh as verilog and .sv/.svh as systemverilog, and has one setting, lucisv.serverPath.