Release 0.35.0 — format fences at statement level and inside class bodies
Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
a0ae5e5fa8
commit
63bbc23e37
6 files changed
+49
-11
No files matched your search
@@ -4,6 +4,30 @@ All notable changes to lucisv are recorded here. Versions follow
|
||||
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
|
||||
(see `README.md`) are the only frozen contract.
|
||||
|
||||
## 0.35.0 — 2026-09-02
|
||||
|
||||
### Format fences reach statements and class bodies
|
||||
|
||||
`// verilog_format: off` / `// lucisv: off` (and the `lucisv:` spelling)
|
||||
now protect statements inside `begin … end`, `fork … join`, function
|
||||
and task bodies and `always`/`initial`/`final` blocks, and items inside
|
||||
a class body — not only items at module scope. A fenced region is
|
||||
copied byte for byte, keeps its own indentation, and is a fixed point
|
||||
under a second pass; an unmatched `off` runs to the end of its own
|
||||
list. `--lines` range formatting honours a fenced statement inside the
|
||||
selected range. Four opentitan files that already carried fences inside
|
||||
functions and class bodies now keep those bytes.
|
||||
|
||||
One rule is applied uniformly: a fence must start its line (whitespace
|
||||
or a finished block comment may precede it). A fence written after code
|
||||
on the same line — `module m; // lucisv: off` — is an ordinary comment,
|
||||
as the fence documentation has said since the feature shipped; it used
|
||||
to open a region at module scope by accident.
|
||||
|
||||
Not yet fenceable, with reasons in the feature README: port lists,
|
||||
case-item label lists, same-line fences, and a property's local
|
||||
declarations.
|
||||
|
||||
## 0.34.0 — 2026-09-02
|
||||
|
||||
### Rename tells you what it could not reach
|
||||
|
||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
dependencies = [
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
@@ -264,11 +264,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
"vlog_semantic",
|
||||
@@ -276,7 +276,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.34.0"
|
||||
version = "0.35.0"
|
||||
authors = ["Guoliang Chen"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
@@ -5,6 +5,15 @@ 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).
|
||||
|
||||
## 0.35.0 — 2026-09-02
|
||||
|
||||
- **Format fences work inside procedural blocks and classes.**
|
||||
`// lucisv: off` … `// lucisv: on` now protects statements inside
|
||||
`begin … end`, `fork … join`, function and task bodies and
|
||||
`always`/`initial`/`final`, and items inside a class body — byte for
|
||||
byte, including with range formatting. A fence must start its line;
|
||||
one written after code on the same line is a plain comment.
|
||||
|
||||
## 0.34.0 — 2026-09-02
|
||||
|
||||
- **Rename warns about macro arguments it could not edit**, naming every
|
||||
|
||||
@@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view,
|
||||
then open a Verilog or SystemVerilog file. There is no separate server or CLI
|
||||
setup.
|
||||
|
||||
The current release is **0.34.0**. Its platform packages include both
|
||||
The current release is **0.35.0**. Its platform packages include both
|
||||
`lucisv-server` and the `lucisv` command-line tool:
|
||||
|
||||
| Package target | Machines |
|
||||
@@ -326,6 +326,11 @@ Every nesting color is a proper VS Code theme color:
|
||||
}
|
||||
```
|
||||
|
||||
## Release 0.35.0 highlights
|
||||
|
||||
Version 0.35.0 lets format fences protect statements inside procedural
|
||||
blocks, function and task bodies, and items inside class bodies.
|
||||
|
||||
## Release 0.34.0 highlights
|
||||
|
||||
Version 0.34.0 makes rename name the macro arguments it cannot edit,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "lucisv",
|
||||
"displayName": "lucisv — Verilog/SystemVerilog",
|
||||
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
|
||||
"version": "0.34.0",
|
||||
"version": "0.35.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in new issue
Block a user