• v0.65.2
    ci / checks (push) Successful in 52s
    ci / corpus (push) Successful in 15s
    release / build-and-publish (push) Successful in 4m59s
    Stable

    gitea-actions released this 2026-11-19 04:38:51 -08:00 | 12 commits to master since this release

    The 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
  • v0.65.1
    ci / checks (push) Successful in 52s
    ci / corpus (push) Successful in 15s
    release / build-and-publish (push) Successful in 5m5s
    Stable

    gitea-actions released this 2026-11-19 03:33:04 -08:00 | 13 commits to master since this release

    Releases 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 runs tools/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, .PARAM overrides, .port names 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-file ExternalResolutions lookups) over the existing 14-type legend:
      • Module / interface names (uart_core, pkg::uart_core with pkg as
        namespace, and lone bind targets) highlight as class.
      • # and parameters share one colour (parameter), distinct from ():
        the # introducing a module, class, extends, instantiation or
        parameterized-type parameter list, every .PARAM override (. and name),
        and parameter values inside #(...) all carry parameter. Delay #
        tokens (#5, #(1:2:3)) are left unemitted.
      • Instance names (u_uart, gate instances, bind instance lists, and
        hierarchical uses like u_uart.sig) highlight as function.
      • Port names (.clk_i dot and name, implicit .rst_ni, and wildcard
        .*), including unfinished entries being typed, highlight as property.
      • Port connections (clk, data_q) stay variable so signals keep one
        consistent colour across the file.
    • VS Code: semantic highlighting on by default with theme-safe scope maps.
      configurationDefaults enables editor.semanticHighlighting.enabled for
      [verilog] and [systemverilog] (user settings still win), and
      contributes.semanticTokenScopes maps 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
  • v0.64.0
    ci / checks (push) Successful in 1m35s
    ci / corpus (push) Successful in 31s
    release / build-and-publish (push) Successful in 7m3s
    Stable

    lucio released this 2026-11-17 15:55:50 -08:00 | 17 commits to master since this release

    Completion that keeps up with typing

    (docs/features/completion-ux, docs/features/port-entry-grace; TODO §68.)

    • begin + Enter writes the end. The newline on-type answer, when
      the line above ends in begin (or begin : label) and a block is still
      open, also inserts end on the line after the new one, at the
      indentation of the statement that owns the begin; the cursor stays on
      the new, indented line. Nothing is added when the blocks already balance
      (an end under the owner or under a begin on its own line counts), nor
      for a begin left open inside an ifdef region that has an else.
      Setting lucisv.autoEnd (default on). The VS Code extension sends the
      request itself when editor.formatOnType is off.
    • always_ff @( and always @( 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 .v file is offered Verilog-2005 keywords only. Setting
      lucisv.inlineKeywords (default on). The begin ghost now also appears
      for a begin typed inside a block that already balances.
    • Port suggestions. After . in an instance, unconnected ports come
      first and already-connected ones follow, marked connected; they used to
      be left out. Accepting a port inserts name() 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 sent workspace/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
    ci / checks (push) Successful in 1m36s
    ci / corpus (push) Successful in 34s
    release / build-and-publish (push) Successful in 8m23s
    Stable

    lucio released this 2026-11-11 14:29:32 -08:00 | 20 commits to master since this release

    Sticky 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.defaultModel to foldingProviderModel for Verilog
      and SystemVerilog, so the pinned lines come from the server's folding
      ranges — the module, the always, the case, the case item, the if —
      and raises editor.stickyScroll.maxLineCount to 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-statement if, a case item
      with no begin) has no fold and so no pinned line; a begin on its own
      line pins that line, not the always above it.
    • No engine change: the server, formatter and linter are 0.63.0's.
    Downloads
  • v0.63.0
    ci / checks (push) Successful in 1m54s
    ci / corpus (push) Successful in 36s
    release / build-and-publish (push) Successful in 7m18s
    Stable

    lucio released this 2026-11-09 20:05:17 -08:00 | 22 commits to master since this release

    Format 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
      always block, a case statement 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,
      rangesFormatting and 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 closing end; the end
      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 --lines is
      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
  • v0.62.0
    ci / checks (push) Successful in 1m50s
    ci / corpus (push) Successful in 38s
    release / build-and-publish (push) Successful in 6m59s
    Stable

    lucio released this 2026-10-19 19:55:36 -07:00 | 28 commits to master since this release

    Paths 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.sig written in a file that does not declare tb used to
      stop at tb; now every segment is a reference — find_references and LSP
      references list it, and a rename of dut, u_core, sig or a generate
      label on the way rewrites the path. $root.tb… works; a local tb
      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
      (including import uvm_pkg::* with uvm_pkg outside 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 default folder scope a module's references and rename
      reach only the folders the index covers; the lucisv.index.scope setting
      now says that a rename of a module instantiated outside the scope leaves
      those instantiations unchanged (use workspace, or open the file first).
    • tools/gates.sh is 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 as KILLED → retried.
    • tools/guard.sh fixes: 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
  • v0.61.0
    ci / checks (push) Successful in 1m38s
    ci / corpus (push) Successful in 31s
    release / build-and-publish (push) Successful in 8m24s
    Stable

    lucio released this 2026-10-14 14:59:51 -07:00 | 33 commits to master since this release

    Call 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/prepareCallHierarchy answers 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/Method item; 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. incomingCalls lists
      every call site, grouped by the enclosing function or task (else the
      module, interface, program, package or class), over the same files
      references reads; outgoingCalls lists 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
      through this., super., a typed handle and an import resolve; virtual
      dispatch and calls inside macro bodies are not modelled.
    • textDocument/prepareTypeHierarchy answers the enclosing class
      anywhere inside a class body, and the base class on super.
    • 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+F12 opens it in Verilog/SystemVerilog editors while
      lucisv.references.fullLineView is 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
      mismatched end : a (or an endfunction : g beside block g) to a
      same-named block.
    • duplicate-declaration reports sibling for generate 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.sh refuses to build when the extension's
      package.json / package-lock.json versions disagree with the binaries.
    Downloads
  • v0.60.0
    ci / checks (push) Successful in 1m37s
    ci / corpus (push) Successful in 36s
    release / build-and-publish (push) Successful in 8m2s
    Stable

    lucio released this 2026-10-08 01:18:14 -07:00 | 39 commits to master since this release

    Rename and references through a generate block label

    TODO §65.1, topo §2.9 row 43 (MCP-14). (docs/features/generate-label-rename.)

    • rename of a block label rewrites every path through it. Renaming
      g_lane in for (…) begin : g_lane used to rewrite the label alone,
      leaving g_lane[0].lane_q (and u_x.g_lane[1].sig in another file)
      naming a block that no longer existed, with no warning. The label, its
      closing end : 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 : lbl and disable lbl; (and the
      lbl: begin … end : lbl form) are one set.
    • find_references (LSP textDocument/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 rename no longer refuses a block-kind declaration.
    • Resolution changes every consumer sees: a for generate block's label is a
      name of the enclosing module (its genvar is not); generate … endgenerate
      is not a scope; blk.x and arr[0].field (a packed struct array) resolve
      their tails; an unnamed genblk1 still 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 generate if/case declares warns
      about the same-named member of the arm sharing its label.
    • duplicate-declaration now 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 (two pwrmgr_if.sv are two findable lines,
      root-relative in lucisv-mcp), and a line a path warning names is not
      repeated under unresolved:. 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 `define body, 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 `define body when the macro is invoked from the home set (through
      other macros too — ASSERT_DEFAULT_CLK's clk_i); a macro argument inside
      a bind into the declaring module; and a bare use in the plain code of an
      included fragment (prim_util_memload.svh's mem) 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 a bind into the declaring module, or into a
      macro lucisv has no definition of; and the body of a macro that expands to
      such a bind. 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 as uvm_macros.svh) is reported everywhere as before. On
      opentitan the state_q rename'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-declaration also 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 rename with many warnings is fast again: rooting the warning
      paths was quadratic per warning (a state_q rename 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
    ci / checks (push) Successful in 1m27s
    ci / corpus (push) Successful in 34s
    release / build-and-publish (push) Successful in 7m16s
    Stable

    lucio released this 2026-09-29 02:12:33 -07:00 | 47 commits to master since this release

    MCP 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-only offers 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 by tests/read_only.rs.
    • The mode filters the tool registry: tools/call of rename, port,
      edit_item or format is 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-cache is still written (outside the roots unless
      --index-cache names 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-only and 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-only smokes the mode (five
      tools, one hierarchy, rename refused, files untouched);
      tools/release.sh runs both smokes on the host binary and on the one
      embedded in the package.
    • hierarchy caps at 300 instances, 100 with peek; peek lines no
      longer count toward the cap (census round 5: prim_fifo_sync up with
      peek showed 20 of 77 instantiations). Without peek the answer is
      unchanged.
    Downloads
  • v0.58.0
    ci / checks (push) Failing after 1m41s
    ci / corpus (push) Successful in 38s
    release / build-and-publish (push) Successful in 10m37s
    Stable

    lucio released this 2026-09-24 03:00:54 -07:00 | 51 commits to master since this release

    The 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; the initialize instructions are 398 bytes. Both budgets
      (≤ 3 500 and ≤ 400) and the names and order are pinned by tests/wire.rs.
      No title, no structuredContent (a result is its text), no
      per-argument descriptions; the schemas are type (and enum) only.
    • hierarchy — without root: N files, M modules, K top and each
      top as name file:line; with root: the instance tree (depth 1–20,
      default 1), every instance at its instantiation site; up: every
      instantiation, all levels to depth; peek: each statement's source.
      Opentitan's top_earlgrey names 0.57.0's instance set, pinned.
    • find — every declaration of a name (or unit.name), macros
      included, as kind name file:line; refs adds each declaration's uses
      one file per line (file:120,133) and the unresolved mentions.
    • outline (file or unit), read (one item; design-wide
      without file), check (file:line:col severity message [rule],
      errors first, ok when clean — the 0.57.0 diagnostics line set).
    • rename (by name; file and name@LINE pick a declaration),
      port (add after after, or remove, in every instantiation),
      edit_item (replace, insert_before, insert_after, delete —
      the M4 verifier unchanged; delete has no force any more), format
      (a path, directory or glob; fix applies 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 tools project_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; check 200)
      with one … and N more line.
    Downloads