Marketplace page: the large-workarea wave documented, changelog added
ci / checks (push) Successful in 43s
ci / corpus (push) Successful in 21s

Owner-requested docs round, scoped to editors/vscode. The README's
settings table gains the seven new keys (index.scope/scopeDepth/
maxFileSize/logFiles/persist/cachePath, largeFile.threshold) with
their honest notes — scope-relative answers and the one-line
migration, the cap's open-buffer exemption, viewport-only highlighting
above the threshold — plus the formatOnSave tab-size caveat, and a new
'Large workspaces' section marked as coming in the next release
(nothing claims the wave as shipped; the 0.10.2 highlights and feature
tables stand as released). New editors/vscode/CHANGELOG.md gives the
Marketplace its Changelog tab: an Unreleased section for the wave and
condensed extension-user entries for every release 0.2.0 through
0.10.2, derived from the root changelog. Every setting name verified
against package.json; every claim traced to a feature README (the
claim-by-claim table is in the dev report); the two perf claims
qualified with their build profile by lead review.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-08-27 17:47:55 -07:00
1 parent 2e258df9a7
commit 5e98b1a669
2 files changed
+321 -1

No files matched your search

+249
View File
@@ -0,0 +1,249 @@
# Changelog
What each release of the **lucisv — Verilog/SystemVerilog** extension changed
for you. The extension and its bundled language server share one version
number; the full engineering notes live in the
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
## Unreleased
The large-workarea release: a project too big to scan is now a project lucisv
keeps up with.
- **Open-file-first indexing.** `lucisv.index.scope` defaults to `folder` — the
index covers the folders your open files live in, and widens as you open
more. `lucisv.index.scopeDepth` starts the climb higher, so a file in `rtl/`
can also index `include/` beside it. Cross-file answers are scope-relative
until the scope reaches a folder; a `lucisv.filelist` still puts the whole
project in scope, and `"lucisv.index.scope": "workspace"` restores the
previous whole-workspace walk exactly.
- **A size cap on the folder scan.** `lucisv.index.maxFileSize` (1 MiB by
default, `0` disables) keeps generated netlists out of the index. A file you
open is always indexed in full.
- **The indexing progress bar counts**, naming the file it is on with a real
`n/total` and percentage instead of an indeterminate spinner.
- **A per-file log in the lucisv output channel**, on by default
(`lucisv.index.logFiles`): every file as it is indexed or restored from
cache, every file the size cap skipped, and a closing count of all three.
- **A save updates one file, not the workspace.** Saving a file the index
already holds replaces only that file's contribution, with no rescan and no
progress bar — ~45× faster on an 860-file workspace (debug build; release is faster still). Instantiation counts,
incoming calls and subtype lists became lookups in the same change, so code
lenses over a whole file cost a fraction of a millisecond.
- **A persistent index cache.** `lucisv.index.persist` (on by default) stores
what indexing each file found, keyed by that file's exact contents, so
reopening a workspace — or reopening it after a crash mid-scan — resumes
instead of restarting. A stale or damaged record costs a re-parse and can
never change an answer. `lucisv.index.cachePath` moves the store; empty means
the extension's own per-workspace storage folder.
- **Large-file mode.** Above `lucisv.largeFile.threshold` (4 MiB) an opened
file is never parsed, analyzed or indexed, so a 100 MB netlist opens
instantly. You keep syntax coloring of the viewport plus go-to-definition and
find-references within that file by text scan; diagnostics, formatting,
symbols, folding, rename, hover and completion answer nothing, and formatting
says so rather than failing quietly.
## 0.10.2 — 2026-08-27
- A seventh package, `all`, carries every platform's server and CLI in one
file — for mixed fleets, internal mirrors, and Alpine, which VS Code never
offers a Linux package to. About 13 MB against 3 MB, and nothing else
changes.
- The Marketplace page is rewritten for end users: install matrix, capability
tables, snippet library, settings ladder, troubleshooting, icon and diagrams.
- Troubleshooting now names the duplicate-hover trap: the pre-rename **vfmt**
extension left installed beside lucisv attaches a second language server, so
every hover and diagnostic appears twice. Uninstall `vfmt` and reload.
## 0.10.1 — 2026-08-27
- **Install in one step.** Five platform packages — `darwin-arm64`,
`darwin-x64`, `linux-x64`, `linux-arm64`, `win32-x64` — embed that platform's
`lucisv-server` and `lucisv`. Nothing to build, nothing to put on `PATH`.
- Both Linux packages are statically linked, so they run on any distro;
`linux-arm64` is a new target.
- Server resolution is explicit `lucisv.serverPath` first, then the bundled
binary, then `PATH` — so pointing at your own build still works, and clearing
the setting returns to the bundled server.
- The binary-free universal `.vsix` remains as a fallback for platforms without
a package.
## 0.10.0 — 2026-08-27
- **Go to type definition**: variable to typedef, handle to class, instance to
module, signal to interface, across files.
- **Type hierarchy**: supertypes and subtypes over class `extends`.
- **Linked editing** keeps closing labels (`endmodule : m`, `end : blk`) in
step with their opener.
- **Code lenses** show a workspace-wide instantiation count above every module;
click to jump to a site.
- **On-type formatting**: typing `;` reformats the finished statement, and a
newline indents the new line.
- **Renaming a file rewrites every `` `include`` that resolves to it**, refusing
rather than guessing when no safe spelling exists; directory renames too.
- **Multi-range formatting**, workspace folders added or removed mid-session,
and configuration pulled by modern clients.
- Interface ports written without a direction
(`module m (bus_if bus, input logic clk);`) now parse, so those files format
and analyze.
## 0.9.0 — 2026-08-26
- **Incremental text sync**: a keystroke sends the changed range, not the whole
file.
- **Semantic tokens by range and delta**, so large files color the viewport
first and edits re-send only what moved.
- **An indexing progress bar** on every workspace rescan, with an honest file
count when it comes down.
- **Format on save over the protocol** for editors without a native one, as
`lucisv.formatOnSave` — leave it off in VS Code, which already formats
through lucisv.
- Requests you have already outrun are cancelled instead of computed.
## 0.8.0 — 2026-08-26
- **The port commands actually edit now.** `lucisv.addPort`,
`lucisv.removePort` and `lucisv.propagatePorts` invoked as commands did
nothing in stock clients; they now apply their edit as one labelled,
undoable workspace edit and report a refusal. The lightbulb path was never
affected.
- **Pull diagnostics** for clients that ask for them, from the same parse and
lint pass as the push model — never both for one client.
- **Expand selection** grows from identifier to statement to `begin`/`end` to
process to module to file, and keeps working in half-edited files.
## 0.7.2 — 2026-08-26
- A formatting fix: a stale column measurement after multi-line raw text (a
string across a line break, a `#( ... )` type reference) forced a spurious
break on the rest of the line.
- Documentation corrections across the project README.
## 0.7.1 — 2026-08-26
- **`` `ifdef`` regions whose arms are each half a construct now format**
instead of erroring, preserved as exact source bytes with the first line
re-indented. Real-world corpus coverage went from 97.6% to **99.1%** of 820
files.
- Releases are built and published automatically, with the `.vsix` and
checksums attached to each tag.
## 0.7.0 — 2026-08-25
- **Ghost text lands aligned.** An accepted inline template's `end` no longer
arrives one indent too deep; bodies are placed with the editor's own tab size
and insert-spaces settings.
- **More constructs finish themselves**: `case`/`casez`/`casex` with arms and
`endcase`, `for` with a dialect-correct header, `while`, `always_ff @(` with
a clock, `always @(` offering the clocked shape first (`Alt+]` cycles),
`fork`, `generate`, and `module` with a named `endmodule`.
## 0.6.0 — 2026-08-25
- **Inline templates (ghost text).** Type `if (` and grey `) begin … end`
appears behind the cursor; `Tab` accepts it as a snippet, landing in the
condition first and the body second. Offered only while the construct is
genuinely unclosed, never inside a comment or a string.
`lucisv.inlineTemplates: false` turns it off.
- Scope matching — the rainbow, the missing-`end` diagnostic and the ghost-text
gate — is linear now: 8,000 nested `begin`s went from 629 ms to 2.3 ms per
pass, on a path that runs at every keystroke.
## 0.5.0 — 2026-08-25
The navigation release.
- **Find references across files** for every symbol the workspace index holds —
modules, packages, exported members, ports. Local signals stay local.
- **Document highlights** for a name's declaration and every use of it in the
file, and **folding ranges** for every matched scope pair plus multi-line
block comments.
- **Inlay hints** draw each port and parameter name before the expression it
belongs to in ordered connections — and draw nothing rather than a guess
wherever the site is ambiguous.
- **`` `include`` is clickable**, resolved through the including file's own
directory and the filelist's `+incdir+` rules in order.
- **Module hierarchy** over the call hierarchy view: who instantiates this
module, and what does it instantiate.
- **Hover expands a macro call** one step, with the call site's arguments
substituted into the body.
- The index now follows the disk — a `git pull`, a branch checkout or a
generator's output refreshes it, not just a save.
## 0.4.2 — 2026-08-24
- **`#200` is a delay, not a color.** VS Code's built-in color decorators were
painting RGB swatches on delay controls; the extension now defaults
`editor.defaultColorDecorators` to `never` for `[verilog]` and
`[systemverilog]`. It is a default, so you can override it back.
## 0.4.1 — 2026-08-24
- **Hover cards are syntax highlighted.** The extension now contributes a
TextMate grammar for both languages — comments, strings, based and real
literals, system tasks, directives, macro uses and all 181 keywords — so
hover snippets and completion documentation are colored instead of flat grey.
- The same grammar colors a buffer before the server starts, in files the
server does not index, and in diffs and git previews. Semantic tokens still
win wherever the server is running.
## 0.4.0 — 2026-08-24
- **Completion offers templates, not just words.** `if begin/end`, `if/else`,
`else if`, `case`, `casez`, `for`, `while`, `always_ff` (with and without an
async reset), `always_comb`, `always @(...)`, `initial` and the everyday
declarations, each gated by cursor position and by dialect so a `.v` file is
never offered `logic`.
- The extension's own static snippets shed the nine that would otherwise have
been offered twice; the file-level templates (`module`, `tb`, `fsm`,
`interface`, `guard` and the rest) stay, and still work with no server
running.
## 0.3.1 — 2026-08-24
- **The `begin`/`end` rainbow no longer makes keywords invisible.** It painted
with VS Code's bracket colors, three of which default to fully transparent,
so nesting depths 3–5 vanished. The rainbow now uses its own theme colors,
`lucisv.rainbow1` … `lucisv.rainbow6`, with opaque defaults for dark, light
and high-contrast themes — still overridable in
`workbench.colorCustomizations`.
- **Unmatched delimiters are colored too**, in `lucisv.rainbowUnmatched`: a
fresh `begin` reads as an error until its `end` exists.
## 0.3.0 — 2026-08-24
The refactoring release.
- **Rename across files** for every symbol the semantic layer resolves, from
nets and ports to modules, packages and class members — refusing rather than
guessing on a collision, an invalid identifier, or any file that would stop
parsing.
- **Module signature changes** as code actions and commands: add a port, remove
a port, propagate ports — each updating every affected instantiation.
- **Module instantiation completion**: typing a module name at item position
writes the whole instantiation, with same-named signals already bound and the
rest as tab stops, plus **signature help** inside port and parameter lists.
- **Completion** now offers the scope's own declarations, what the project
declares, every keyword, and finally every identifier used in the project —
never inside a comment or a string.
- **`lucisv.filelist`**: point lucisv at an EDA `.f` filelist and it indexes
exactly the files your build names.
## 0.2.0 — 2026-08-19
The first released version: formatting, linting and a language server for
Verilog-2001 and the synthesizable SystemVerilog subset.
- **Document formatting** with a width-aware, deterministic style — and a
safety net that re-lexes and re-formats every result, discarding it and
leaving the file untouched if anything disagrees. Comments are never dropped;
`// verilog_format: off` / `on` fences are preserved byte for byte.
- **Live diagnostics**: parse errors and lint warnings in one publish per
change, with quick fixes and `source.fixAll.lucisv` for fix-on-save.
- **Navigation and understanding**: hover with declaration snippets and
`` `define`` expansion, go to definition, in-file references, document and
workspace symbols, and semantic highlighting.
- **Waivers** in Verible's spelling, so code already annotated for Verible
lints unedited.
- The extension registers `.v`/`.vh` as `verilog` and `.sv`/`.svh` as
`systemverilog`, and has one setting, `lucisv.serverPath`.
+72 -1
View File
@@ -168,6 +168,66 @@ enabling both paths formats twice.
![lucisv extension architecture](https://git.luci.ooo/lucio/lucisv/raw/branch/master/editors/vscode/images/architecture.png)
## Large workspaces
*Coming in the next release.* The current Marketplace build is **0.10.2**; the
settings named here are documented alongside it so the whole configuration
surface lives in one place. The [changelog](CHANGELOG.md) tracks them under
**Unreleased**.
A workarea with tens of thousands of files used to pay for a full scan on every
save. That is replaced by a chain of narrower answers:
- **The scan follows your open files.** `lucisv.index.scope` defaults to
`folder`: the index covers the folders your open buffers live in and
everything under them, and opening a file elsewhere widens it. `scopeDepth`
starts the climb one or more folders higher, so a file in `rtl/` can also
index `include/` beside it.
- **Generated netlists stay out of the scan.** `lucisv.index.maxFileSize` caps
a walked file at 1 MiB by default — bigger is almost always machine output
that costs minutes and answers nothing. A file you actually open is always
indexed in full, whatever its size.
- **The progress bar counts.** The **Indexing Verilog workspace** bar names the
file it is on with a real `n/total` and a real percentage instead of an
indeterminate spinner.
- **The output channel says what happened.** With `lucisv.index.logFiles` on,
every file is named as it is indexed, restored from cache, or skipped by the
size cap, and the bar's closing message counts all three —
`860 files indexed, 858 from cache, 2 skipped`. That is what answers "why is
this symbol missing" and "why was that scan slow" without a debugger.
- **A save costs one file.** Saving a file the index already holds replaces
just that file's contribution, with no progress bar and no rescan — measured
at ~45× faster than the whole rebuild it replaces (860-file workspace, debug build — release is faster still).
Instantiation counts, call hierarchy and subtype lists became table lookups
in the same change, so a code lens over a whole file is a fraction of a
millisecond.
- **The index survives a reopen.** `lucisv.index.persist` (on by default)
writes what indexing each file found to a per-workspace store, keyed by that
file's exact contents. Reopening the workspace — or reopening it after a
crash halfway through the first scan — resumes from those records instead of
parsing everything again; a stale or damaged record costs a re-parse and can
never change an answer. `lucisv.index.cachePath` moves the store somewhere
you choose, for example to share one between checkouts of the same tree.
- **A 100 MB netlist opens instantly.** Above
`lucisv.largeFile.threshold` (4 MiB) an opened file is line-counted and
nothing else: never parsed, never analyzed, never indexed. What you keep is
syntax coloring of the screenful you are looking at, painted a window at a
time, plus go-to-definition and find-references within that one file by text
scan. Everything else — diagnostics, formatting, symbols, folding, rename,
hover, completion — answers nothing for such a file, and formatting says so
rather than failing quietly. (VS Code never hands an extension a file over
50 MB at all, so in VS Code this path serves everything from the threshold up
to that limit; the 100 MB case belongs to editors without that rule.)
The honest trade: with the folder scope, cross-file answers are **scope
relative**. A symbol in a folder the scope has not reached yet does not exist
as far as the server is concerned, so go-to-definition, workspace symbol
search, find references, the hierarchies and workspace rename all answer within
the scope you have opened your way into. Point `lucisv.filelist` at your EDA
filelist and the whole project is in scope from the first keystroke; set
`"lucisv.index.scope": "workspace"` and the whole-workspace walk every release
up to 0.10.2 did is back, unchanged.
## Snippet library
Type a prefix and choose the snippet; `Tab` walks its placeholders. Static
@@ -209,9 +269,20 @@ Server-side templates add `if`, `if/else`, `else if`, `case`, `for`, `while`,
| `lucisv.indent` | unset | Indent width, 1–8; falls back to the editor tab size, then 2 |
| `lucisv.exclude` | `[]` | Extra index exclusions added to the project's own patterns |
| `lucisv.filelist` | `""` | EDA `.f` filelist to index instead of walking the folder |
| `lucisv.formatOnSave` | `false` | Protocol save hook for editors without native format-on-save; keep off in VS Code |
| `lucisv.index.scope` | `folder` | Index the folders your open files live in, or every workspace folder with `workspace`; answers stay scope-relative until the scope reaches a folder |
| `lucisv.index.scopeDepth` | `0` | How many folders above an open file the `folder` scope starts from; `1` lets a file in `rtl/` index `include/` beside it |
| `lucisv.index.maxFileSize` | `1 MiB` | Largest walked file the index reads, in bytes; `0` removes the cap, and a file you open is always indexed in full |
| `lucisv.index.logFiles` | `true` | Name every indexed, cached, and cap-skipped file in the lucisv output channel |
| `lucisv.index.persist` | `true` | Remember what indexing each file found, so a reopen resumes instead of rescanning |
| `lucisv.index.cachePath` | `""` | Where that store lives; empty means the extension's own per-workspace storage folder |
| `lucisv.largeFile.threshold` | `4 MiB` | Size in bytes above which an opened file gets viewport-only highlighting and nothing else — no parsing, diagnostics, formatting, or indexing; `0` analyzes everything |
| `lucisv.formatOnSave` | `false` | Protocol save hook for editors without native format-on-save; keep off in VS Code. Its indent comes from `lucisv.toml` or `lucisv.indent`, never from the editor tab size, which the protocol does not send on this path |
| `lucisv.serverPath` | bundled | Explicit server override for advanced use; an unchanged setting uses the bundled server |
The six `lucisv.index.*` settings and `lucisv.largeFile.threshold` arrive with
the [large workspaces](#large-workspaces) work; everything else ships in
0.10.2.
A nearby `lucisv.toml` is the project source of truth and wins over editor
style settings. Each file discovers configuration upward, so one workspace may
contain projects with different formatting rules.