-
v0.20.0
Stablereleased this
2026-08-30 19:04:41 -07:00 | 247 commits to master since this releaseFuzzy completion:
clkenqreachesclk_osc_en_q.Identifier completion now matches by subsequence — the typed
letters present in the name, in order — at three or more typed
characters, and by prefix below that: VS Code's own rule, ruled by the
owner. The scope-visible, project-declaration and project-word tiers
go fuzzy; modules (substring), keywords, templates and`define
names keep their own semantics, and the instantiation ghost's
exact-match trigger deliberately stays exact.Ranking is prefix-first, then a boundary-aware score: letters landing
at the starts of name parts (c·l·katclk_…'s components)
outrank accidental scatter, contiguous runs outrank gaps, and the
order is deterministic. The scan is affordable because every table
entry carries a 32-bit character mask — aclkenqkeystroke rejects
99.6 % of opentitan's 100 022-word table with one AND each and costs
+0.05 ms; the expensive class is three very common letters (aes,
ena), measured at 1–4 ms server-side and accepted as imperceptible
in a popup. 1–2-character responses are alwaysisIncomplete, so the
third keystroke — the one that turns fuzzy on — always reaches the
server.Formatter output unchanged; the bump is the completion behavior.
Downloads
-
v0.19.0
Stablereleased this
2026-08-30 17:17:44 -07:00 | 249 commits to master since this releaseInline instantiation, round 2 — two rulings from first live use.
The space is the commitment. The ghost now appears only after
name<space>:aesalone may still be growing intoaes_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_dftandio_oscare each declared
under bothtop_earlgreyandtop_darjeelingin 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.Downloads
-
v0.18.0
Stablereleased this
2026-08-30 14:47:40 -07:00 | 251 commits to master since this releaseInline instantiation: the popup names the module, the ghost writes the
rest. Two levels, sized for a 4,000-file SoC.The two-level split
Level 1 — the completion popup offers module names. Tier 0 used to
plan a full instantiation skeleton for up to 64 candidate modules on
every keystroke — each one a definition-file read and a header parse.
It is now a scan of the in-memory module table and nothing else: the
item inserts the name,Moduleicon and declaring file beside it.Level 2 — the exact name grows a ghost. The moment the identifier
at the cursor exactly (case-sensitively) matches an indexed module, at
a position where an instantiation is legal, with nothing after the
cursor,textDocument/inlineCompletionoffers the rest of the
instantiation in grey: every parameter override, every port
connection, each a snippet tabstop, ports matching an in-scope signal
auto-connected. Tab writes it; the editor's own tab settings indent
it. Works the same whether the name was typed by hand or accepted
from the popup. Exactly one module is ever planned, through the
guarded header-slice path and the file-view cache.The per-keystroke probe is
Candidates::has_module— a case-sensitive
binary search whose sorted-table premise is pinned by test. Measured
on opentitan (3,976 files): a keystroke that is not a module name
costs 0.10–0.17 ms; the ghost foraes(14 parameters, 16 ports)
0.6–1.1 ms; the 112-parametertop_earlgrey2.5 ms cold.New setting:
lucisv.inlineInstantiation(default on), independent of
lucisv.inlineTemplates.Honest losses, written down: the popup's per-module documentation
panel is gone (it cost a plan per item); a client without
inlineCompletionsupport (Neovim's built-in LSP today) gets names
but no skeleton — filed asdocs/topo.md§2.9-19 for an
execute-command spelling. A module declared in two files now appears
in the popup by name (it used to vanish entirely); its ghost declines
rather than guess which file.Formatter output is unchanged; the bump is the two-level completion
behavior itself. Also checked in:docs/performance_take2.md
(referenced since 0.15.0, never staged —performance.md,
performance_take2.md).Downloads
-
v0.17.0
Stablereleased this
2026-08-29 18:47:45 -07:00 | 254 commits to master since this releaseThe wave's second half: from 100 sweep failures to 11 on the
3,943-file opentitan checkout — 99.7 % of the tree parses, formats and
round-trips clean, and what remains is macro`includefragments
(a preprocessing decision), vendor files that are not SystemVerilog
(exclude patterns recommended in the analysis), and three written-up
skips.The mop-up: nine small buckets
Block-scoped
typedefstatements, system-function casting types
($bits(x)'(…)), enum member ranges, casts over assignment patterns,
gate delay lists,virtual iface.modportdeclarations,randon
struct members,foreachskipped dimensions, hierarchicalbind
instance paths — 45 files, seven of the nine buckets needing no new
AST surface at all.The clocking wave: eight more, one round
Clocking signal bindings,
default disable iff(half of what the
analysis had called "clocking"),iffon event-control terms, indexed
event names, gate drive strengths,programblocks, and macros as a
concurrent assertion's action — where QA caught a real regression in
four UVM-idiom shapes and the rework decides by the token after the
macro, with the failure direction proven trunk-identical rather than
assumed. The expression-chain limit rises 256 → 1024 on measured need
(a generated pinmux file chains 567 links) with the parse stack
resized to keep its safety margin, sabotage-proven.Formatter output moved in exactly one file-class (code previously
swallowed into an assertion's opaque bytes is now parsed and laid
out), so this release bumps the version and warm format caches
re-verify.Downloads
-
v0.16.0
Stablereleased this
2026-08-29 15:34:30 -07:00 | 259 commits to master since this releaseThe testbench-syntax release: the coverage gap named by
syntax_coverage.md(a full sweep of a 3,943-file opentitan checkout),
closed bucket by bucket. Sweep failures 151 → 100 across three
lead-reviewed rounds.Out-of-class constraints parse
constraint ClassName::name { ... }at file or package scope — the
single biggest bucket, 45 files — was a one-line grammar fix reusing
the out-of-body method-name path. The real win is tolerant-mode: the
cascade of bogus diagnostics these files produced in the editor
(300+ per file, 1,349 across the bucket) collapses to at most one
honest report.Directives may open inside a statement
An
`ifdefsplitting the right-hand side of an assign, an
expression, or an instantiation head — the mirror image of every
previous directive feature, which all recovered at a closing
directive — is captured verbatim, with a head classifier that refuses
what it cannot prove rather than guessing. Fixes chip_if.sv in both
opentitan tops, both flagship tb.sv testbenches, and friends. Crafted
corrupted-capture pairs are asserted rejected by the safety net.Three formatter comment bugs, fixed where they lived
A line comment trailing
endno longer swallows a cuddledelse; a
comment inside anif/while/repeat/wait/caseheader's parens
stays inside them;default;no longer grows an invented:. Eleven
of the twelve files the safety net had (correctly) refused now format
and round-trip; the twelfth needed a parser-side pending-comment fix
(take_gap) delivered by the directive round — all twelve close on
the merged tree.verify.rs's forgiveness was not widened; the
attack-test template was applied anyway.Formatter output changed for the comment shapes above, so this
release bumps the version and warm format caches re-verify (the
format-cache rule).Downloads
-
v0.15.0
Stablereleased this
2026-08-29 03:48:48 -07:00 | 270 commits to master since this releaseThe interactive-latency release, benchmarked twice against a real
3 976-file opentitan checkout (performance.md,performance_take2.md
at the repo root), plus a design-hierarchy sidebar contributed by
codex.Every hot path measured, then fixed
- codeAction (fires per cursor move): 3.1–4.6 s → 7 ms — the
port-refactor engine reads the cursor module's indexed fan-out, not
the workspace; equality with the whole-workspace computation is
pinned, ambiguity refusals intact. - prepareRename (pressing F2): 2.5–3.0 s → microseconds, flat
in project size — answered from the open buffer and the index, with
a refusal-by-refusal parity table; refusals are deferred to the
rename, never lost. - rename: 3.6–8.7 s → ~105 ms over the reference-postings
fan-out, including a sixth rung over unresolved spellings so the
dangling-import capture refusal fires exactly as the whole-workspace
walk's did. willRenameFiles rides the include graph: 250 → 14 ms. - completion: 34–66 ms per keystroke → 3–15 ms — module
headers are sliced, not whole-file-parsed, with whole-file re-plans
wherever the slice cannot be proven identical; items byte-identical. - documentHighlight: fixed — it answered nothing for any name the
file uses but does not declare (a module instance, a connected
port), which is most of what a tb hovers. - A widen that subsumes the old scope indexes only its new files, and
the word table merges per batch instead of per word (935 → 555 ms
for the first jump into a 1 685-file root, warm).
The scope default finds your block
Behavior change:
lucisv.index.scopeDepthdefaults to 2 (was
0). Openinghw/ip/aes/dv/tb/tb.svnow indexes the aes block and
cross-file answers work immediately, where before exactly one file was
indexed and every cross-file answer was empty until a jump widened the
scope. An explicit0restores the old behavior exactly.--verbose, when you want receiptslucisv-server --verbose(or thelucisv.verbosesetting, which
restarts the server through a race-proof one-chain restarter) prints a
timing:line for every operation into the output channel. Off by
default and free when off.--stdiois accepted as the statement of
fact it is.The design-hierarchy sidebar (contributed by codex)
An instance-oriented hierarchy in the Activity Bar: every module, its
instances, search over the whole design, bookmarks, click-to-jump.
Snapshots read no files at all — the index now carries client
positions — so the handler answers in ~17 ms on opentitan and a save
with the sidebar open costs ~141 ms total. Search runs over a resident
model in single-digit milliseconds at 120 000 entries, collapsed by
default, expansion preserved across refreshes.One-time index rebuild
The persisted facts format moved to 5 (declaration spans, instance
occurrences, client positions; ~+2 % store). The first scan after
upgrading rebuilds the store once.Downloads
- codeAction (fires per cursor move): 3.1–4.6 s → 7 ms — the
-
v0.14.0
Stablereleased this
2026-08-28 20:22:30 -07:00 | 283 commits to master since this releaseThe first-hover release: the owner's "hover is really slow on first
try," traced to three costs and each one removed. Hover's steady state
was already microseconds; now the firsts are too — or as close as
physics allows.The index carries every declaration's line
Each indexed declaration — modules, and ports/parameters through the
same member entries — now records its line number(s), computed at index
time for au32per name (+68 KB over the 860-file corpus). A hover
heading into a closed file costs zero I/O: it survives the file being
deleted. The persisted facts format moved to 4; an older cache is
discarded whole and rebuilt once (~175 ms on the corpus).Closed files are read once, not per hover
The snippet's one remaining read is served from a small bounded view
cache (4 files / 8 MiB, newest kept, invalidated on every path that can
change a file's text): a repeat hover into a 12 MB closed file goes
5.8 ms → ~1 µs, and mean cross-file hover 40/157 µs → 4.7/12.9 µs.
A stale view can only ever omit a snippet — the wrong-line guard is
unchanged.The startup scan answers requests as it goes
A request sent right after
initializedused to wait out the whole
scan: 780 ms cold / 287 ms warm over 200 files. The scan now feeds the
live index incrementally and drains the message queue between files —
the first hover of a session answers in ~15 ms against the index so
far, with the open file indexed first. One merge per drain (per-file
merging measured quadratic: 11.7 s over 800 files), scans under 64
files stay one-shot, only the startup scan answers mid-way so the
request-order contract holds, and the finished index fingerprints
byte-identical to the old all-at-once scan. Scan totals unchanged
within noise.Downloads
-
v0.13.1
Stablereleased this
2026-08-28 16:31:47 -07:00 | 286 commits to master since this releaseThe F12-latency release: the two costs behind a slow jump out of a big
open file, found by measurement and removed, plus a stack-safety hole
closed.References stop sweeping the open buffer
The open-document overlay in find-references did index lookups for
every reference in every open buffer. A spelled-name prefilter and a
hoisted file lookup take a 70 000-reference opentop.svfrom 3.2 ms
to 0.11 ms per request, both directions; in-file references and
occurrence highlighting on a heavily used signal drop ~40 %. Answers
are byte-identical — the old refactor walk remains the tested oracle.A rescan reuses what open buffers already analyzed
Jumping into a folder the index scope had not reached triggered a
rescan that re-parsed every open buffer's text twice — once for index
facts, once for completion words. Both now come from the analysis the
buffer already holds (one implementation per path, byte-identical facts
pinned over the corpus): the folder-widening jump drops from 228 ms
to 23 ms, and didSave's incremental update rides the same reuse.The stack now fits the nesting limit by construction
The parser's 64-level nesting limit only turns over-deep input into an
error on a stack big enough to reach level 64 — an assumption that had
drifted out from under the 2026-08 measurement (~94 KiB per level in
debug under rustc 1.97; a default 2 MiB thread aborted near level 30).
PARSE_STACK_SIZE(16 MiB) is now applied at every parse-reaching
thread, both binaries' work included — the CLI previously aborted under
a 1 MiB main stack (ulimit, win32 default) on 500 nestedbegins and
now emits an ordinary diagnostic. Deep-nesting suites across four
crates pin it, sabotage-verified.Downloads
-
v0.13.0
Stablereleased this
2026-08-28 03:17:39 -07:00 | 290 commits to master since this releaseEditor responsiveness, and hover for old-style ports.
Typing costs one reanalysis, not one per keystroke
didChangeno longer reparses and re-lints the buffer on every
keystroke. The text the server holds is still exactly current after
every notification; only the analysis is deferred, and it runs at the
first moment anything needs it — the next request, the next
non-didChangenotification, or a 150 ms quiet period. A burst of ten
keystrokes in a 10 000-line file therefore costs one 31 ms reanalysis
instead of ten. The visible consequence: intermediate diagnostics
states are no longer published, so squiggles for a half-typed line that
was finished a moment later never appear. Every state that is published
is one the buffer really passed through. Closing a file that was
mid-edit discards its pending change instead of analyzing it, so it
costs one publish — the one that clears its squiggles — and not two.The one case this makes slower is a single keystroke followed by
nothing at all: it now waits out the quiet period before publishing,
164 ms instead of one reanalysis. Editors ask for something after every
change — semantic tokens, inlay hints, highlights — and any request
flushes the buffer before it is answered, so the latency a user
actually meets is 4.4 ms in a 1 000-line file and 37.6 ms in a
10 000-line one.Hover shows a non-ANSI port's real declaration
A port declared the old way — named in the module header, completed in
the body byinput signed [31:0] data_in;— now hovers as two fenced
sections: the header line, then the body declaration that carries the
direction, the type and the width. Go-to-definition offers both, the
body declaration first. It works cross-file, into files that are not
open, because the span travels through the workspace index. An
old-style task or function argument (task t(a);finished by
input [7:0] a;) reads the same way. Each section also carries every
comment that documents it: the lines above it, the comment beside it,
and the lines below it when nothing else could claim them — all three
at once where all three are written.Faster hover and navigation
A hover into a closed file reads that file once instead of twice (34 ms
→ 16.3 ms on a 31.7 MB file), and resolving a live declaration looks
its name up instead of walking every symbol in the buffer. Measurements
and how to reproduce them:docs/perf/README.md.Cursor-position answers stop walking the whole buffer
Expand-selection, on-type formatting, the completion scope gates and
the inline template trigger each used to scan every token in the file
to find the one at the cursor. They now binary-search for it: 77 µs →
20 ns in a 10 000-line buffer, and 130 µs → 36 ns for the widest of
them. No answer changed — each swap is pinned by a test that compares
it against the scan it replaced at every byte of the buffer.The persistent index cache's record format changed to carry the new
span, so the first session after upgrading rebuilds its index rather
than reading the old store.Downloads
-
v0.12.1
Stablereleased this
2026-08-27 22:35:56 -07:00 | 297 commits to master since this releaseHover 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 infile: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.Downloads