-
v0.65.2
Stablereleased this
2026-11-19 04:38:51 -08:00 | 12 commits to master since this releaseThe Hierarchy pane shows where you are
(
docs/features/hierarchy-current-path; TODO §71.6.)- The rows leading to the file you are editing are lit. Every instance of
the module the open file declares gets a light, bright orange tint with a
solid bar at its left edge and a bold label; each row above it is one shade
dimmer with a narrower bar, down to a faint floor for distant ancestors. A
module instantiated in several places lights every copy, and where two
chains meet the nearer one wins. It works on a closed tree and on DUT
sections: a section header is tinted when the section holds the file or its
parents. - Switching files repaints, it does not reload. There is no request to the
language server and no rebuild of the tree; only the rows whose shade
changed are touched, so nothing collapses (about 5 ms on a 6 000-module
design). - Readable in every built-in theme. The default tints keep label text at
4.5:1 or better on every lit level in the dark, light and high-contrast
themes, hovered rows included — a test computes that from the shipped
defaults — and the bar's width and style change with the level, so the
grading does not rest on colour alone. - Yours to restyle or switch off. The shades and the bar are theme colours
(lucisv.hierarchyCurrent,lucisv.hierarchyParent1–3,
lucisv.hierarchyAncestor,lucisv.hierarchyCurrentBar) for
workbench.colorCustomizations;lucisv.hierarchy.highlightCurrent: false
turns the highlighting off. - Known limits. Nothing lights when a folder name's letter case differs
between the filelist and the editor, or on Windows network-share paths; in a
recursive design a row can be lit with nothing lit beneath it. Not yet seen
in a running editor by a human: the tests are headless.
Downloads
- The rows leading to the file you are editing are lit. Every instance of
-
v0.65.1
Stablereleased this
2026-11-19 03:33:04 -08:00 | 13 commits to master since this releaseReleases are gated
No change to the formatter, the linter, the language server or the editor
extension: the packages are 0.65.0 rebuilt. What changed is how a release is
made (tools/RELEASING.md).- A tag no longer publishes unless every gate is green. The release
workflow now runstools/gates.sh—cargo fmt,cargo clippy, each
crate's test suites, the doc tests, the corpus gate and the extension's node
tests — before it builds anything, and a failing gate stops the release.
Until now only the branch push was checked, by a separate workflow the
release did not wait for, so 0.65.0 was published while its checks had not
finished. - The build is clean on Rust 1.100. An unused import in the language
server's test module, which that toolchain's clippy rejects under
-D warnings, is gone. It is what turned 0.65.0's checks red after the
fact; the released binaries were never affected.
From 0.65.0
Module instantiation syntax highlighting
(
docs/features/instantiation-highlighting; TODO §69.)- Every part of a module instantiation gets its own colour. Module names,
instance names,.PARAMoverrides,.portnames and connected signals used
to collapse to the same default foreground colour whenever the instantiated
module lived in another file or a theme left bare semantic tokens unstyled.
The language server now layers AST-guided semantic token overrides (and
cross-fileExternalResolutionslookups) over the existing 14-type legend:- Module / interface names (
uart_core,pkg::uart_corewithpkgas
namespace, and lonebindtargets) highlight asclass. #and parameters share one colour (parameter), distinct from():
the#introducing a module, class,extends, instantiation or
parameterized-type parameter list, every.PARAMoverride (.and name),
and parameter values inside#(...)all carryparameter. Delay#
tokens (#5,#(1:2:3)) are left unemitted.- Instance names (
u_uart, gate instances,bindinstance lists, and
hierarchical uses likeu_uart.sig) highlight asfunction. - Port names (
.clk_idot and name, implicit.rst_ni, and wildcard
.*), including unfinished entries being typed, highlight asproperty. - Port connections (
clk,data_q) stayvariableso signals keep one
consistent colour across the file.
- Module / interface names (
- VS Code: semantic highlighting on by default with theme-safe scope maps.
configurationDefaultsenableseditor.semanticHighlighting.enabledfor
[verilog]and[systemverilog](user settings still win), and
contributes.semanticTokenScopesmaps the language's semantic token types to
distinct TextMate scopes so every role renders in colour across Dark+, Dark
Modern, Light+, GitHub Dark, One Dark Pro and Visual Studio Dark.
Downloads
- A tag no longer publishes unless every gate is green. The release
-
v0.64.0
Stablereleased this
2026-11-17 15:55:50 -08:00 | 17 commits to master since this releaseCompletion that keeps up with typing
(
docs/features/completion-ux,docs/features/port-entry-grace; TODO §68.)begin+ Enter writes theend. The newline on-type answer, when
the line above ends inbegin(orbegin : label) and a block is still
open, also insertsendon the line after the new one, at the
indentation of the statement that owns thebegin; the cursor stays on
the new, indented line. Nothing is added when the blocks already balance
(anendunder the owner or under abeginon its own line counts), nor
for abeginleft open inside anifdefregion that has anelse.
Settinglucisv.autoEnd(default on). The VS Code extension sends the
request itself wheneditor.formatOnTypeis off.always_ff @(andalways @(expand with clock and reset:
posedge clk or negedge rst_n, both names tab stops, as the ghost text
and as the first popup template. The clock-only forms follow.- This file's names rank first. The popup's order is now: the scope at
the cursor, names declared anywhere in this buffer, words used in it,
then the workspace index, templates, keywords and project words. - Keyword ghosts. Two or more letters of a keyword show the rest as
grey inline text (Tab accepts); with the popup open the ghost follows its
selected entry. A word that is exactly a name the buffer declares gets
none. A.vfile is offered Verilog-2005 keywords only. Setting
lucisv.inlineKeywords(default on). Thebeginghost now also appears
for abegintyped inside a block that already balances. - Port suggestions. After
.in an instance, unconnected ports come
first and already-connected ones follow, markedconnected; they used to
be left out. Accepting a port insertsname()with the cursor inside,
pre-filled with a same-named signal when one is visible; parameter lists
(#(.) behave the same. - An unfinished connection stays in its own entry. In the editor's
tolerant parse, a lone., a.name(still open at the end of its line
and a trailing,are each recovered inside their entry — always with a
diagnostic — so the rest of the list and the file still parse, colour and
lint. Strict parsing, and so the formatter and the CLI, are unchanged. - Errors on the connection being typed wait. Diagnostics that start
inside the entry the last edit touched, in a named-connection list of an
instance, are withheld and published after 1.5 s without typing, on an
edit elsewhere, or on save. A client that pulls diagnostics and supports
it is sentworkspace/diagnostic/refresh. Nothing outside that entry is
ever withheld. - Changed: a trailing
,in a named connection list (.a(x),)) is now
reported in the editor. The formatter and the CLI always refused it;
the editor's tolerant parse used to accept it silently. Format Selection
elsewhere in such a file now works instead of refusing the whole file.
Downloads
-
v0.63.1
Stablereleased this
2026-11-11 14:29:32 -08:00 | 20 commits to master since this releaseSticky scroll shows every layer
(TODO §67.)
- VS Code: sticky scroll pins the first line of every block you are
inside. Only the module header used to stay at the top of the editor,
because sticky scroll follows the document outline by default and the
outline stops at declarations. The extension now defaults
editor.stickyScroll.defaultModeltofoldingProviderModelfor Verilog
and SystemVerilog, so the pinned lines come from the server's folding
ranges — the module, thealways, thecase, the case item, theif—
and raiseseditor.stickyScroll.maxLineCountto 10 for those languages
(VS Code's 5 fits exactly that example and nothing deeper). Your own
settings still win. - Known limit: a layer without
begin(a one-statementif, a case item
with nobegin) has no fold and so no pinned line; abeginon its own
line pins that line, not thealwaysabove it. - No engine change: the server, formatter and linter are 0.63.0's.
Downloads
- VS Code: sticky scroll pins the first line of every block you are
-
v0.63.0
Stablereleased this
2026-11-09 20:05:17 -08:00 | 22 commits to master since this releaseFormat Selection that fits where it stands; comment toggling in VS Code
(
docs/features/selection-formatting; TODO §66.)- Format Selection lays out only the block you selected. Selecting an
alwaysblock, acasestatement or a few statements used to re-lay the
whole enclosing module-level item — at the formatter's own depth, so a
block in a 4-space or tab-indented file moved, and the blank lines at the
selection's edges were eaten. The new engine
(vlog_formatter::format_selection) finds the smallest run of sibling
items or statements the selected lines cover, lays out that run alone and
puts it back starting at the leading whitespace it already has (tabs
kept). The parent is not touched.textDocument/rangeFormatting,
rangesFormattingand the on-type;all run on it. - A parse error elsewhere in the file no longer refuses the request. The
selection is formatted when the error lies outside it, and refused only
when it lies inside. - How a selection picks its block. Touching a block's first line takes
the whole block; a selection that starts inside it takes only the
statements it covers, even when it reaches the closingend; theend
line alone takes the block it closes. A selection of whole module-level
items behaves as before. - Still verified. Every result passes the whole-file equivalence check
and a convergence replay, or the buffer is left unchanged; the verifier
itself is unchanged. CRLF files keep every line ending. - The on-type
;now tidies its statement in a buffer whose error is
elsewhere, and no longer adds a final newline to a file without one. - The reply is still one whole-document edit; the CLI's
--linesis
unchanged (whole module-level items). - VS Code:
Ctrl+/toggles comments. The extension now declares the
language's//and/* */comments, bracket pairs and auto-closing
pairs for Verilog and SystemVerilog, so Toggle Line Comment and Toggle
Block Comment work on one line or a selection.
Downloads
- Format Selection lays out only the block you selected. Selecting an
-
v0.62.0
Stablereleased this
2026-10-19 19:55:36 -07:00 | 28 commits to master since this releasePaths rooted at a top-level module; a dependable release gate
(
docs/features/top-rooted-paths,docs/features/release-gates,
docs/features/references-fanout-pd-main.)- A hierarchical path that starts at a top-level module now resolves.
tb.dut.u_core.sigwritten in a file that does not declaretbused to
stop attb; now every segment is a reference —find_referencesand LSP
references list it, and a rename ofdut,u_core,sigor a generate
label on the way rewrites the path.$root.tb…works; a localtb
shadows. The LSP's rename also reads the files of the path's root and the
modules it passes through. Rooted only when lucisv can prove the head is
a top-level module: not when the name could come from a wildcard import
(includingimport uvm_pkg::*withuvm_pkgoutside the project), not
inside a class, not beside a macro that stands where a declaration could,
and not when the name is also a package or several modules share it —
those paths are left unchanged and warned about exactly as before. The
index cache format moves to 22, so a 0.61.0 cache is rebuilt once. - An unresolved path through the renamed name is warned about once (it was
sometimes named twice). - Find All References across blocks is relative to the index scope, by
design. On a defaultfolderscope a module's references and rename
reach only the folders the index covers; thelucisv.index.scopesetting
now says that a rename of a module instantiated outside the scope leaves
those instantiations unchanged (useworkspace, or open the file first). tools/gates.shis the release gate: fmt, clippy, the test build,
each crate's suites, the doc-tests, the corpus gate and the extension
tests, each a separately guarded step with its own log and a summary; a
step the guard kills is retried once and reported asKILLED → retried.tools/guard.shfixes: its memory limit now sees every process in the
tree (a pid-list bug hid everything three or more levels down, so builds
and test-spawned servers were never capped), and a closed stdin no longer
makes the command silently not run.
Downloads
- A hierarchical path that starts at a top-level module now resolves.
-
v0.61.0
Stablereleased this
2026-10-14 14:59:51 -07:00 | 33 commits to master since this releaseCall hierarchy from anywhere, functions and tasks as nodes; full-line references in VS Code
(
docs/features/call-hierarchy-everywhere,docs/features/vscode-references-view.)textDocument/prepareCallHierarchyanswers from any position in a
body. It answered only on a module name, so Show Call Hierarchy was empty
almost everywhere. Now: an instance name prepares the instantiated module;
a function or task's declaration, call or end label prepares a
Function/Methoditem; a position inside a function or task body
prepares that function or task; one inside a module, interface or program
prepares the enclosing module. Module items answer exactly as before.- Functions and tasks are call-hierarchy nodes.
incomingCallslists
every call site, grouped by the enclosing function or task (else the
module, interface, program, package or class), over the same files
referencesreads;outgoingCallslists the resolved callees, skipping
system tasks and unresolved names. A function's own name read inside its
body (clog2 = clog2 + 1) is its result variable, not recursion. Calls
throughthis.,super., a typed handle and animportresolve; virtual
dispatch and calls inside macro bodies are not modelled. textDocument/prepareTypeHierarchyanswers the enclosing class
anywhere inside a class body, and the base class onsuper.- VS Code: Find All References with whole lines. VS Code's references
pane starts each preview a few characters before the match. The extension's
new References view (lucisv sidebar) lists every reference's full line
with the identifier highlighted, grouped by file, the declaration marked;
Shift+Alt+F12opens it in Verilog/SystemVerilog editors while
lucisv.references.fullLineViewis on (the default). Closed files are read
without opening them on the server.
Review fixes and housekeeping
- The closing-label fallback of an unnamed block no longer attaches a
mismatchedend : a(or anendfunction : gbeside blockg) to a
same-named block. duplicate-declarationreports siblingforgenerate blocks of one label,
and a procedural block beside a generate block in either order.- Rename warnings: a comment between
.and the name is still a path; a file
that fails to lex is warned about instead of skipped. - Refactoring messages name a file by its path wherever another file shares
its base name (the.*expansion, ANSI conversion, inline and extract too). lucisv_server's workspace state is split into seven modules (a pure
move);tools/release.shrefuses to build when the extension's
package.json/package-lock.jsonversions disagree with the binaries.
Downloads
-
v0.60.0
Stablereleased this
2026-10-08 01:18:14 -07:00 | 39 commits to master since this releaseRename and references through a generate block label
TODO §65.1, topo §2.9 row 43 (MCP-14). (
docs/features/generate-label-rename.)renameof a block label rewrites every path through it. Renaming
g_laneinfor (…) begin : g_laneused to rewrite the label alone,
leavingg_lane[0].lane_q(andu_x.g_lane[1].sigin another file)
naming a block that no longer existed, with no warning. The label, its
closingend : g_lane, and every path segment naming the block — bare,
indexed (g[0].x,g[i].x), nested (g_a.g_b[2].x), behind an instance
path from another file — are now one reference set, renamed all or
nothing; a spelling inside macro text or a string is a warning. A name
declared inside a block is likewise renamed through such a path. Named
procedural blocks:begin : lbl,end : lblanddisable lbl;(and the
lbl: begin … end : lblform) are one set.find_references(LSPtextDocument/references,lucisv-mcp find refs) lists the declaration, the closing label and every segment, same
file and cross-file, with the declaring file open or closed.lucisv-mcp renameno longer refuses ablock-kind declaration.- Resolution changes every consumer sees: a
forgenerate block's label is a
name of the enclosing module (its genvar is not);generate … endgenerate
is not a scope;blk.xandarr[0].field(a packed struct array) resolve
their tails; an unnamedgenblk1still names nothing. The index cache
format moves to 21, so a 0.59.0 cache is rebuilt once. - A rename says so when a path it cannot resolve spells the name: a
hierarchical path segment in any file of the rename's set that resolved to
no declaration (tb.dut.gen_x[0].q, rooted at a top module) is left
unchanged and warned about with its lines, for every kind of declaration;
and renaming a member one arm of a generateif/casedeclares warns
about the same-named member of the arm sharing its label. duplicate-declarationnow also reports a block label beside a net,
variable, parameter or instance of the same name, and such a label is no
longer counted as a read of the net.- Rename and port warnings name a file by its path whenever another file of
the set shares its base name (twopwrmgr_if.svare two findable lines,
root-relative inlucisv-mcp), and a line a path warning names is not
repeated underunresolved:. Same-named members are warned about through
every enclosing same-label generate arm (g.h.x), and an escaped name's
unresolved paths are found too. - Rename warnings and mentions are about the renamed declaration. For a
member of a module or interface (a net, variable, port, parameter, block,
…), a bare spelling of its name in a macro argument, a`definebody, an
unstructured assertion, a comment or a string is reported only where it can
mean it: in the declaration's home set — the declaring file,
everything it`includes, whatever includes it (transitively), and the
files the rename edits. In code, a spelling in the declaring file is
reported after a scope lookup finds the declaration there (an instantiating
module's own same-named signal is not); one in an included fragment always;
a`definebody when the macro is invoked from the home set (through
other macros too —ASSERT_DEFAULT_CLK'sclk_i); a macro argument inside
abindinto the declaring module; and a bare use in the plain code of an
included fragment (prim_util_memload.svh'smem) is named as a use the
rename could not edit. Reported wherever they are written: a dotted
spelling (.state_q, a possible hierarchical path); a bare macro argument
the macro carries to the declaration — after a.(`CONN(state_q)
building.state_q(state_q),`FORCE(state_q)building
force u_m.state_q), into abindinto the declaring module, or into a
macro lucisv has no definition of; and the body of a macro that expands to
such abind. Not reported: a body whose spellings are only its own
parameter named like the declaration (unless the body also spells the name
after a., or a default argument spells it), and a backtick inside a
string. Any doubt means no scoping: a module, interface, package or
package member, a declaration outside a module, or one whose home set holds
an include lucisv cannot resolve (a macro-built name, a file outside the
project such asuvm_macros.svh) is reported everywhere as before. On
opentitan thestate_qrename's answer went from 274 lines (61 kB, 230
macro warnings, 229 about other modules) to about 72 lines (12 kB),
hmac_core.StIdle's from 48 lines to 3. duplicate-declarationalso reports a block label beside a port, genvar,
typedef, function or task, and two named procedural blocks of one label in
one scope.lucisv-mcp renamewith many warnings is fast again: rooting the warning
paths was quadratic per warning (astate_qrename on opentitan: 125 s →
3.3 s). Naming the files in warnings no longer scans the whole set once per
file either: the engine's part of that rename went from 2.9 s to 2.2 s.- A use in a file that includes the declaring file (or that it includes) is
no longer reported as "left unchanged" when the rename did rewrite it —
renaming a module whose instantiation sits in a file included beside it
said so wrongly.
Downloads
-
v0.59.0
Stablereleased this
2026-09-29 02:12:33 -07:00 | 47 commits to master since this releaseMCP read-only mode
PLAN §11, the owner's request of 2026-09-29: one binary, two modes.
(docs/features/mcp-read-only.)lucisv-mcp --read-onlyoffers exactly the five read tools —
hierarchy,find,outline,read,check, in that order, with the
same descriptions and schemas as full mode. The model-visible catalogue is
1 797 bytes (budget ≤ 1 800) and the instructions 297 bytes (≤ 300), both
pinned bytests/read_only.rs.- The mode filters the tool registry:
tools/callofrename,port,
edit_itemorformatis the unknown-tool error (-32602,
unknown tool: rename (the server runs --read-only)); no edit handler is
reachable. Resources answer as in full mode. - No write inside a root, whatever is called: a test snapshots every
path, size and mtime (directories too) of a fixture copy, calls every
full-catalogue tool name (the four edits with valid edit arguments, which
a control test shows do write in full mode) and every resource, and finds
the snapshot unchanged after the server exits. The server's own index
store under--index-cacheis still written (outside the roots unless
--index-cachenames a directory inside one). - Full mode is byte-identical to 0.58.0 on the wire (
initialize,
tools/list); only the usage line gains[--read-only]. - Extension: setting
lucisv.mcp.mode("full"default,"read-only")
— the definition gains--read-onlyand the label becomes
lucisv read-only (<folder>); a change of the setting re-announces the
servers. lucisv: Copy MCP server config follows it (server key
lucisv-ro, args ending--read-only, the message names the mode). editors/vscode/mcp_smoke.js <binary> --read-onlysmokes the mode (five
tools, onehierarchy,renamerefused, files untouched);
tools/release.shruns both smokes on the host binary and on the one
embedded in the package.hierarchycaps at 300 instances, 100 withpeek;peeklines no
longer count toward the cap (census round 5:prim_fifo_syncup with
peek showed 20 of 77 instantiations). Withoutpeekthe answer is
unchanged.
Downloads
-
v0.58.0
Stablereleased this
2026-09-24 03:00:54 -07:00 | 51 commits to master since this releaseThe lean MCP catalogue: nine tools, short answers, trusted writes
The census (
mcp_analysis.md) found the server right on every run and
dearer than plain file reads on every small task: a 5 400-token catalogue
read each session, answers carrying more than the question, and agents
dry-running what they were told to trust. PLAN §10 is the owner's ruling:
accuracy over breadth. (docs/features/mcp-lean-catalogue.)- Nine tools, in this order:
hierarchy,find,outline,read,
check,rename,port,edit_item,format. The model-visible
catalogue (name, description, schema of every tool) is 3 440 bytes, was
17.9 kB; theinitializeinstructions are 398 bytes. Both budgets
(≤ 3 500 and ≤ 400) and the names and order are pinned bytests/wire.rs.
Notitle, nostructuredContent(a result is its text), no
per-argument descriptions; the schemas aretype(andenum) only. hierarchy— withoutroot:N files, M modules, K topand each
top asname file:line; withroot: the instance tree (depth1–20,
default 1), every instance at its instantiation site;up: every
instantiation, all levels todepth;peek: each statement's source.
Opentitan'stop_earlgreynames 0.57.0's instance set, pinned.find— every declaration of a name (orunit.name), macros
included, askind name file:line;refsadds each declaration's uses
one file per line (file:120,133) and the unresolved mentions.outline(fileorunit),read(one item; design-wide
withoutfile),check(file:line:col severity message [rule],
errors first,okwhen clean — the 0.57.0diagnosticsline set).rename(by name;fileandname@LINEpick a declaration),
port(addafterafter, orremove, in every instantiation),
edit_item(replace,insert_before,insert_after,delete—
the M4 verifier unchanged;deletehas noforceany more),format
(a path, directory or glob;fixapplies the safe lint fixes first; a
file the formatter refuses is named, the rest written).- Census round 4 (
mcp_analysis.md): on the same four OpenTitan tasks
the lean server answered every run correctly, at parity with plain file
tools on the whole-design questions (task a −1 %, task d −0.4 % over two
runs) and +9…+10 % on the two small edits (was +15…+25 % in round 1). - Gone from the wire:
dry_run,limit,offset,in,template,
overrides,force, and the toolsproject_overview,list_units,
unit_interface,read_item,search_symbols,defines,definition,
references,diagnostics,fix_lint,expand_wildcard,
convert_ports,organize_imports,inline_module,propagate_ports,
remove_port,add_port,extract_module,replace_item,
insert_item,delete_item,instantiate(the engines stay in the CLI
and the language server). Answers are capped (300 lines;check200)
with one… and N moreline.
Downloads
- Nine tools, in this order: