-
v0.66.1
Stablereleased this
2026-11-19 23:28:50 -08:00 | 0 commits to master since this releaseSticky scroll pins the module instance
- A module instantiation folds, so its header lines stay pinned (TODO
§72,docs/features/instance-folding).textDocument/foldingRangeanswers
one range per multi-line instantiation from its module-type line, and one
more per instance from the line its name is on when that is a later line,
so bothaes_control_fsm #(and) u_aes_control_fsm (are pinned while
the reader is in the connection list. The closing);line stays visible.
What is an instantiation comes fromvlog_semantic::instantiations::sites;
where it closes is re-read from the tokens, and a statement whose tokens
are not exactly that shape folds nothing. - Every fold answered before is unchanged and first on a shared start line
(0.66.0 against this tree on 4 933 files: 75 256 ranges identical once the
instance folds are removed). OpenTitanhw: 18 200 multi-line
instantiations, none without its fold. Worst file about 2 ms per request
(1.1 ms before). - Not folded: two-dimensional instance arrays; an instance whose head an
`ifdefsplits.
Downloads
- A module instantiation folds, so its header lines stay pinned (TODO
-
v0.66.0
Stablereleased this
2026-11-19 21:07:43 -08:00 | 1 commits to master since this releaseThe overnight queue, complete
0.66.0 closes TODO §71: eight owner-ordered features, each shipped as its own
0.65.x release with a dev round, a QA round and the full gates. Nothing in
the engine changed between 0.65.11 and this release; it adds the topology
and size re-measurement (docs/topo.md,CLAUDE.md) and is the version to
install. Each line names the release that carries the detail below.- Editing and saving no longer re-index the workspace (0.65.6/0.65.7).
A saved or changed file updates its own records and the files that depend
on it; only a change that can reach everything (a config, a filelist)
rescans. - Actions on the open file do not wait for the workspace (0.65.11).
Hover, go-to-definition, highlights, the outline and folding for names the
file declares answer in milliseconds during a scan or a rescan, and
completion lists what the file can reach first. - Highlighting does not wait for the index (0.65.10). Colours come from
the buffer at once, as a best guess for cross-file names, and are
corrected by one refresh when the index settles. `ifdef/`else/`endifbranches fold and take part
in sticky scroll (0.65.4).- Formatter styles (0.65.5):
autofollows the file's own style, or
chooselucisv,ansi,google,lowrisc,microsoftornxp; the presets are one readable
table invlog_formatter/src/style.rs. - The module view marks where you are (0.65.2): the current file's
module and its parents, in shades of orange. - Find References next to a name (0.65.8): a caret just past a name's
last letter now finds it — the cause of "no references" that worked on a
second try — and edits arriving during a rescan are applied in order. - Comments are comments (0.65.3): no bracket or code colouring inside
them, andTODO,FIXME,FIX_ME,TBDand your own words
(lucisv.commentKeywords.custom) are highlighted.
Also since 0.65.0: releases are gated by
tools/gates.sh, which
compile-checks Windows and Linux (0.65.1, 0.65.7); CI runs the suite on
Linux as well as macOS, andlucisv-mcpno longer serves stale contents
after a same-instant rewrite (0.65.9).One test change in this release: 0.65.11's Linux CI run failed on a
wall-clock test of the large-file path (24.9x measured against a 24x limit
on a loaded runner; nothing in that path had changed). The test now
re-measures up to three times before failing — a real quadratic regression
measures ~64x every time.Not yet seen in a running editor by a human — every feature above was
verified through the server's protocol and the extension's tests, on
OpenTitan'shwtree. Open follow-ups are listed in TODO §71.Downloads
- Editing and saving no longer re-index the workspace (0.65.6/0.65.7).
-
v0.65.11
Stablereleased this
2026-11-19 20:58:56 -08:00 | 2 commits to master since this releaseActions on the open file no longer wait for the workspace
(
docs/features/fast-actions; TODO §71.2. Measured on OpenTitan'shwtree
and on generated 20 000- and 40 000-file trees, with the server driven the
way VS Code drives it.)-
Same-file answers come from the file. A hover, a go-to-definition, a
type definition, highlights, a rename's first check or a signature help on
a name the file itself declares — and the outline, folding and selection
ranges — are answered from the open buffer at once, even while the index
is being built or rebuilt. Anything that might live in another file still
waits for the index it needs.hover on a local name (4 000 / 20 000 / 40 000 files) 0.65.10 now during the startup scan 547 / 665 / 831 ms 2.4 / 1.5 / 1.9 ms a new file triggers a rescan, request 5 ms later 1.2 / 6.0 / 12.3 s 47 / 167 / 321 ms the same, request read together with the event 1.2 / 6.0 / 12.3 s 0.3 / 0.1 / 0.1 ms the same, server busy with a previous delete 1.3 / 7.0 / 14.3 s 0.17 / 0.99 / 2.2 s -
Every early answer is the settled answer. A request goes ahead only
when its buffer is open, every older message that could change the buffer
has been applied, its analysis is current, no settings are still on their
way, and the answer is the buffer's alone. 2.9 million early answers were
compared with the answer the finished index gives; none differed. -
Completion keeps what the file can reach near the top. Right after the
file's own names it now offers the members of the packages the file
imports, what its class inherits and the macros of the headers it
includes, so a huge workspace no longer pushes them out of the list; such
a name shows the icon and detail of the declaration the file actually
reaches. Completion answers are half the size for VS Code. -
A new
lucisv.largeFile.thresholdapplies to files already open, the
editor's first settings answer included — not at each file's next edit. -
Fixed on the way (present since 0.65.8 and 0.65.10): the editor's
answer to a settings request could be applied ahead of an older settings
change or edit; colours answered while a file-watcher event was waiting
were not refreshed afterwards. -
What it costs. Until the editor has answered the server's first
settings request, same-file requests wait (the threshold may change how
the file is read): with an editor that takes 0.5 s to answer, the first
outline arrives after 515 ms — it was 1 043 ms on 0.65.10. -
Still to come. Not yet seen in a running editor by a human.
Downloads
-
-
v0.65.10
Stablereleased this
2026-11-19 13:17:23 -08:00 | 3 commits to master since this releaseHighlighting no longer waits for the index
(
docs/features/viewport-highlight; TODO §71.3. Measured on OpenTitan'shw
tree with the server driven the way VS Code drives it.)-
Colours arrive at once. Building a file's colours takes 0.3–6.5 ms;
nearly all of the wait before first colour was the server holding every
request until the index was ready. A colouring request for a buffer whose
text is current is now answered from that buffer alone, even while a scan
or a widening of the index holds everything else.first colour after opening a file before now cold start, whole-workspace scope 660–685 ms 3.5–39 ms cold start, folder scope (the default) 38–74 ms 3–32 ms a file opened after startup settled, folder scope 611–641 ms 2–32 ms a file in a folder not indexed yet, mid-session 375 ms 6 ms while a rescan runs 325–791 ms 70–159 ms The larger figure in each range is a 545 KB file, whose own parse is most
of what remains. -
Imperfect first, then corrected — once. Before the index settles,
names that resolve through it (a module or package in another file, an
inherited method) are coloured as local guesses: 96.8 % of tokens already
match the final answer, and nothing is ever coloured as code inside a
comment or a string. When the index settles the server sends one
workspace/semanticTokens/refreshand the editor's next answer is the
accurate one. This also fixes colours that used to stay wrong until the
next edit: the first answer was built from a half-finished index and never
revisited (2 745 tokens in one OpenTitan file). -
The viewport request costs the viewport.
semanticTokens/rangebuilt
the whole file's tokens and filtered them; it now classifies only the
visible lines (0.3 ms for 60 lines of a 4 000-module buffer, against 98 ms). -
What it will not do. A buffer with edits the server has not applied
yet still waits — its existing colours stay on screen. An editor that
cannot be asked to refresh gets early viewport colours only, and its
whole-file answer waits as before. Hover, go-to-definition and every other
request still wait for the index they need; QA compared 978 such answers
with 0.65.8's and they are identical. -
Still to come. The file-discovery walk at the start of every scan
answers nothing while it runs, which is what is left of the wait in
whole-workspace scope (62–86 ms for a late open) and during rescans. Not
yet seen in a running editor by a human.
Downloads
-
-
v0.65.9
Stablereleased this
2026-11-19 13:10:35 -08:00 | 4 commits to master since this releaselucisv-mcpno longer serves stale contents; the suite runs on Linux(
docs/features/linux-test-portability, Round 2; TODO §70.)lucisv-mcpno longer answers from a file's old contents after a
same-size rewrite that restores its old modification time. The server
decides whether a file changed from its size, mtime, change time and
inode, and re-reads a file whose mtime is too fresh to trust — but it did
not apply that caution to the change time. On Linux, where the change time
moves in 1 ms ticks, a file rewritten at the same size with its mtime put
back (cp -p,rsync -t,touch -r, a rename-over) inside the same tick
as the server's read matched in every field, and index-based answers
(find,hierarchy,check) came from the old text until the file
changed again.readandoutlinewere never affected. The rule now
covers every timestamp the stamp trusts, its window is 3 s (2 s was too
close to FAT's 2-second timestamps), and a wall clock stepped backwards
since a read distrusts the stamp. Reproduced on purpose on 0.65.8 (every
run with an identical stat was stale) and gone on this build across
overlayfs, tmpfs and APFS; ordinary reads cause no extra re-read.- What it still cannot see, now written down in
docs/features/mcp-transport: on Windows there is no change time or
inode, so a same-size rewrite that restores the old mtime more than 3 s
after a read goes unseen; and a store through a writable memory map that
the kernel has not yet reflected in the file's timestamps. A tree whose
files carry modification times in the future is re-read on every call. - The test suite is stable on Linux, and CI runs it there. It was green
on Linux most of the time and failed about one run in three: two test
helpers insisted that writing to a child's input succeed (a usage error
exits before reading), one latency test used a fixed 200 ms budget (it now
measures against a parse of the same buffer in the same process), and one
MCP test could hang on macOS under load on a pipe inherited across
threads. Ten consecutive green runs as root and ten as an unprivileged
user, then six and six by QA.ci.ymlhas alinuxjob (clippy and the
whole suite on Linux x86-64) beside the macOS one.
Downloads
-
v0.65.8
Stablereleased this
2026-11-19 11:53:54 -08:00 | 5 commits to master since this releaseFind References next to a name, edits kept in order, and a startup that could take minutes
(
docs/features/scan-ordering; TODO §71.7. Three bugs, all older than this
series of releases.)- Find All References, Go to Definition, hover, highlight and rename work
with the cursor just after a name. A double-click, a click on the right
half of a name's last letter, or a click on a row of lucisv's References
view leaves the cursor there, and the server used to look at the character
after the name — so VS Code said "No references found" until you clicked
away and back. Nine requests now resolve the name the cursor touches
(hover, definition, type definition, references, document highlight,
prepare-rename, rename, and the call- and type-hierarchy prepares); the
ones with boundary rules of their own (completion, signature help, linked
editing, selection range) are unchanged. The References view now opens a
row with the cursor at the start of the name. Checked on every identifier
of 350 files: the answer at the end of a name equals the answer at its
start, and a rename there never touches the neighbouring token. - Edits made while the workspace is re-indexing are applied in order.
The server held requests during a scan but applied notifications at once,
so a newer edit could overtake an older one still queued — and since the
editor sends edits as differences, the server's copy of the file then
differed from the editor's until the file was closed and reopened: wrong
symbols, wrong diagnostics, wrong references. Edits, opens, closes, saves
and the other notifications the editor sends are now applied in the order
sent. QA's independent driver: 9 118 bursts, 87 % of them sent mid-scan,
no wrong text, no lost or duplicated answer; the same check fails on
0.65.7 at once. - Opening a file while the first index is built no longer makes that index
take minutes. A request followed by a file open in the same batch was
handed back and re-held at every file of the startup scan: about 300–400 s
on OpenTitan instead of 2 s. Now a held batch is handed back at most once
per file actually opened; the same sequence takes 2.6–3.3 s. - Known and left for later, all present before: a request held during a
scan is answered against the newest text, so a position-based request can
land on a different symbol if an edit moved the text under it (and rename
edits carry no document version for the client to reject a stale one by);
deleting a directory is not seen by the server (VS Code reports the folder,
which the client's source-file filter drops); an excluded file stays in the
index after it is closed; symlinked files can be held under two spellings;
renaming a port of a module defined twice gives an edit or a refusal at
random.
Downloads
- Find All References, Go to Definition, hover, highlight and rename work
-
v0.65.7
Stablereleased this
2026-11-19 10:59:06 -08:00 | 6 commits to master since this release0.65.6, built for every platform
0.65.6 was tagged but never published: it passed every gate on the Mac and
then failed to compile for Windows, so the release stopped before anything
was built for distribution. This release is 0.65.6 with that fixed; its
notes are below, unchanged.- The Windows build compiles again. One comparison in the language
server's new "is this file already held under another spelling" check moved
a directory identity that is a small copyable pair on macOS and Linux but an
owned path on Windows (lucisv_server/src/state/incremental.rs). - The gates now compile for the other platforms.
tools/gates.shhas a
newcrossstep:cargo checkof the three shipped binaries for Windows
and Linux, with the same toolchain the release build uses. Until now
platform-conditional code was first compiled by the release build itself,
after the gates.
Saving a file no longer re-indexes the workspace
(
docs/features/localized-reindex; TODO §71.1. Measured on OpenTitan'shw
tree, 4 058 files, with the server driven the way VS Code drives it.)-
What was happening. Every save cost about 160 ms of whole-index work
whatever was edited — 117 ms of it re-resolving all 470 000 cross-file
references — and VS Code triggered it twice, once for the save and once for
its own file watcher. Watcher events for files the index could not hold (a
generated file in a gitignored directory, a file outside the filelist or
folder scope, a held file reported through a symlinked root or in another
letter case) started a whole rescan with the progress bar, 270–750 ms. -
Now the index does only what the edit can reach.
edit, then save before now a comment, or the watcher's echo of any save ~160 ms under 0.3 ms a local signal in uart_txorprim_flop~170 ms 4 ms a member added to uart_reg_pkg~167 ms 12 ms a line above a module 125 files instantiate ~163 ms 47 ms a member added to a package 677 files import ~162 ms 92 ms a watcher event for a file outside the scope up to 746 ms, with the bar 3.5 ms The index records which names each file looked up — including the ones it
did not find — and re-resolves only the readers of names whose meaning
changed. A save whose index record is unchanged merges nothing. -
Still wide, on purpose. Adding or deleting a file; a burst of more
files in one watcher event than half the index holds (a branch switch),
which takes the one rescan it always did; an edit above a declaration many
files use. Every save still re-checks every open file's diagnostics, so a
lucisv.tomlor waiver edit takes effect at the next save as before — with
200 files open that is most of a save (53 ms, against ~205 ms before). -
The price. Every whole rescan costs a few per cent more for the table
that makes the rest cheap: warm OpenTitan startup is 40–120 ms slower,
depending on machine load. -
How it is known to be right. After any sequence of edits, everything
the server answers must equal what a freshly started server answers for the
same files. QA built that oracle independently and it failed the first cut
on four stale answers (include links to headers outside the scope, lint
configuration, a file-age check macOS defeats, excluded open buffers); all
four are fixed and are now tests. The final build: 312 hand-written
comparisons and twelve random 300–500-step runs over the corpus and
OpenTitan with no divergence it caused. -
Also. The language server's
line-lengthlint now follows the chosen
formatting style's width (80 underansiandnxp, 120 under
microsoft), closing the limit noted in 0.65.5. Removing an included
header no longer leaves other files' include links pointing at it. -
Known, and next. Found by this round's QA and present in earlier
releases too: an edit made while a whole rescan is running can be applied
out of order, leaving the server's copy of the buffer wrong until the file
is reopened; a watcher event that names only a directory leaves stale
state; an excluded file stays indexed after it is closed. These are the
next round's work.
Downloads
- The Windows build compiles again. One comparison in the language
-
released this
2026-11-19 10:40:32 -08:00 | 8 commits to master since this releaseNamed formatting styles
(
docs/features/format-styles; TODO §71.5.)-
One setting picks a house layout.
[format] style = "<name>"in
lucisv.toml,--style <name>on the command line, or the new
lucisv.format.styledrop-down in VS Code. Seven layout rules, one row per
style, in one table incrates/vlog_formatter/src/style.rs:style indent / width beginelselists list indent alignment lucisv(default)2 / 100 same line same line fit 1 level keep google2 / 100 same line same line one per line 2 levels keep lowrisc2 / 100 same line same line one per line 1 level always ansi4 / 80 own line own line fit 1 level keep microsoft4 / 120 own line own line one per line 1 level keep nxp2 / 80 same line own line one per line 1 level always -
Where the styles come from.
googlefollows the Google Verilog Style
Guide andlowriscthe lowRISC (OpenTitan) guide, both read for this
release, includingelseon its own line after a labelledend.ansi,
microsoftandnxpare lucisv's educated guesses — Allman-style
begin/elseafter iStyle's and clang-format's styles of those names, and
a conservative aligned RTL style — not rules those organisations publish
for Verilog. -
The default does not move a byte.
lucisvoutput is identical to
0.65.4 on all 4 921 files of the corpus and OpenTitan'shwtree, checked
against an independently rebuilt 0.65.4. An explicitindentor
line-lengthstill wins over a style's. -
Every style goes through the same safety net. Each was formatted three
times over those 4 921 files: no verification error, no crash, no token or
comment difference (checked with a lexer that is not the formatter's), and
no change on a second or third run.verify.rsis untouched. -
style = "auto"keeps a file in the layout it is already closest to.
It formats with each preset and keeps the result that changes the fewest
lines, so a file written the Google way stays that way. It picks a layout
for the configured indent and width and never infers them — set
indentto match the file first, or a 4-space file formatted at the
default 2 comes out in the default layout. Small edits do not flip a file:
over 500 files and ten kinds of edit, none rewrote more than 12 lines
outside the edit.autocosts a search — 2.4 s against 0.4 s on a
42 000-line file for a whole-document format — so the language server
remembers each document's layout, and selection and on-type formatting stay
at 0.1 s after the first request. -
Known limits. A declaration with several instances in one statement
gets the older hanging layout under the one-per-line styles. The language
server'sline-lengthlint still assumes 100 columns underansi,
microsoftandnxp(the CLI'scheckfollows the style). Switching from
one keep-alignment style to another and back is not always a round trip:
alignment a style added stays.
Downloads
-
-
released this
2026-11-19 10:35:11 -08:00 | 10 commits to master since this release`ifdefblocks fold, and pin in sticky scroll(
docs/features/ifdef-folding; TODO §71.4.)- Every conditional-compilation branch folds on its own.
`ifdef,
`ifndef,`elsifand`elseeach fold from their own line to
the line before the next branch (or before`endif). Collapse the
`ifdefbranch and the`elseline stays visible and separately
collapsible;`endifstays visible too, the wayenddoes for a
beginfold. Nesting works to any depth. - They pin in sticky scroll. The floating header lines already follow the
server's folds, so while you scroll inside a long branch its`ifdefor
`elseline stays at the top with the module and blocks around it. - Only real directives count. The folds are built from the lexer's own
directive tokens, so a directive-looking line inside a comment, a string or
a`definebody is not folded (35 such lines in OpenTitan). An
unterminated`ifdeffolds the branches it finished and never runs to
the end of the file; a stray`elseor`endifis ignored. - No existing fold is lost or changed. On OpenTitan's
hwtree (4 061
files) and the 860-file corpus every fold the previous release returned is
still returned, byte for byte, with the 1 061 and 511 branch folds added.
Where a branch would share its start line with an existing fold — a
directive written after code on the same line — the existing fold is sent
first and keeps its place; that never occurs in either tree. - Cost: one extra pass over the tokens: folding all of OpenTitan goes from
29.9 ms to about 34 ms, and a 50 000-branch file answers in 0.2 s. - Limits. Files over the large-file threshold (4 MiB) return no folds, as
before. Not yet seen in a running editor by a human.
Downloads
- Every conditional-compilation branch folds on its own.
-
released this
2026-11-19 10:29:27 -08:00 | 11 commits to master since this releaseComment keywords, and the brackets in comments explained
(
docs/features/comment-highlighting; TODO §71.8.)TODO,FIXME,FIX_MEandTBDstand out inside comments. In//
and/* */comments they are drawn bold in a new theme colour,
lucisv.commentKeyword— as whole words only (TODO_regand$TODOare
left alone), and never in strings or code.- Your own words too.
lucisv.commentKeywords.customadds words that are
highlighted the same way and only in comments (matched literally, up to 50
words of 1–40 characters);lucisv.commentKeywords.builtIn: falseturns the
four built-ins off, andlucisv.commentKeywords.caseSensitive: false
ignores case. Every change applies at once, with no reload. - It follows what the editor draws as a comment. The extension finds
comments with the grammar's own comment and string rules; against VS Code's
real tokenizer that agreed on every one of the 1 185 823 lines of
OpenTitan'shwtree. It is client-side, so it paints while the language
server is still starting. - Cheap on big files. Only the lines on screen (and 50 either side) are
searched for words; an edit above the screen re-reads the lines from the
edit down to it (7.9 ms at worst on a 100 000-line file). A file VS Code
itself does not tokenize (over 20 MiB or 300 000 lines) is not painted. - Brackets coloured inside comments: explained, not changed. The
[]of
asignal[]that sometimes lights up in a comment is VS Code's bracket-pair
colourisation, which ignores comments until it has finished tokenizing a
newly opened file in the background and then removes the colour itself.
lucisv's grammar and semantic tokens were measured to colour nothing inside
a comment (309 OpenTitan files, and the large-file path). An extension
cannot change that behaviour short of switching bracket colours off for the
whole language, code included — which stays your choice
(editor.bracketPairColorization.enabled, orcolorizedBracketPairs
under[systemverilog]). - Not yet seen in a running editor by a human: the tests are headless.
Downloads