Release 0.48.0 — a DUT-centred hierarchy view
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
a5ca0c9b10
commit
4d342367b9
6 files changed
+94
-11
No files matched your search
@@ -4,6 +4,24 @@ 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.48.0 — 2026-09-06
|
||||
|
||||
### A DUT-centred hierarchy view
|
||||
|
||||
- **Star a module as DUT** from the hierarchy pane's row menu (or the
|
||||
`lucisv.hierarchy.starDut` command, or a checked-in
|
||||
`lucisv.hierarchy.duts` setting, whose entries show locked). Each DUT
|
||||
gets two collapsible sections: the DUT with its instance subtree, the
|
||||
DUT at the very top, and the DUT's parents — an upward tree from the
|
||||
DUT through every module that instantiates it, transitively, which is
|
||||
where the DV bench lands. One section holds every other module: those
|
||||
in no DUT's subtree or ancestor chain, re-rooted where their only
|
||||
parents are DUT ancestors, so a monitor beside the DUT under the same
|
||||
bench stays visible. One DUT → three sections; two → five. A module
|
||||
both below one DUT and above another appears in both DUT sections.
|
||||
With nothing starred the pane is exactly as before. Client-only, over
|
||||
the hierarchy snapshot the server already sends.
|
||||
|
||||
## 0.47.0 — 2026-09-06
|
||||
|
||||
### Organize imports, extract module
|
||||
|
||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"vlog_formatter",
|
||||
@@ -265,11 +265,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
dependencies = [
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
@@ -278,7 +278,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.47.0"
|
||||
version = "0.48.0"
|
||||
authors = ["Guoliang Chen"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
@@ -5,6 +5,14 @@ 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.48.0 — 2026-09-06
|
||||
|
||||
- **DUT-centred hierarchy.** Right-click a module → Star as DUT: the
|
||||
pane shows the DUT with its children at the top, its parents (the DV
|
||||
bench) as an upward tree, and everything else in a collapsible
|
||||
section. Star several; unstar from the same menu; or pin DUTs for the
|
||||
team with `lucisv.hierarchy.duts`.
|
||||
|
||||
## 0.47.0 — 2026-09-06
|
||||
|
||||
- **Organize imports** on save or from the lightbulb: unused
|
||||
|
||||
@@ -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.47.0**. Its platform packages include both
|
||||
The current release is **0.48.0**. Its platform packages include both
|
||||
`lucisv-server` and the `lucisv` command-line tool:
|
||||
|
||||
| Package target | Machines |
|
||||
@@ -63,6 +63,13 @@ Most features work as soon as a supported file opens:
|
||||
- Open the **lucisv** Activity Bar icon for an instance-oriented design tree.
|
||||
Every level starts collapsed; its fixed search field fuzzy-matches module and
|
||||
instance names in memory, and click or the instance context menu navigates.
|
||||
- Right-click the module you actually work on and choose **Star as DUT**. The
|
||||
pane splits into three collapsible sections — the DUT with its children, the
|
||||
DUT's parents (an upward tree through everything that instantiates it, which
|
||||
is usually the testbench), and every other module — including whatever the
|
||||
bench held beside the DUT, which that last section re-roots rather than hide.
|
||||
A second DUT adds two more sections. **Unstar DUT** from the same menu, or
|
||||
**Clear DUTs** from the pane's title bar, puts the plain tree back.
|
||||
- Hover a symbol, press `F12`, find references, search workspace symbols, or
|
||||
open the call/type hierarchy using VS Code's standard commands.
|
||||
- Type a module name at module-item scope to insert a complete instance. Inside
|
||||
@@ -136,6 +143,7 @@ enabling both paths formats twice.
|
||||
| Code lenses | Shows the workspace-wide instantiation count above every module/interface; click to jump to a site |
|
||||
| Call hierarchy | Incoming calls answer “who instantiates this?”; outgoing calls answer “what does this instantiate?” |
|
||||
| Design hierarchy sidebar | Alphabetical instance paths from every top-level module, collapsed until you open them, in-memory fuzzy module/instance search, exact instance/definition jumps, path copy, bookmark highlighting, and split-right opening |
|
||||
| DUT sections | Star a module as DUT and the pane splits into its own subtree, an upward tree of everything that instantiates it, and every module in neither — two sections per DUT plus one. Stars are remembered per workspace; `lucisv.hierarchy.duts` is the checked-in list a team shares |
|
||||
| Type hierarchy | Walks class `extends` relationships to supertypes and workspace subtypes |
|
||||
|
||||
### Highlighting and presentation
|
||||
@@ -274,6 +282,7 @@ 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.hierarchy.duts` | `[]` | Modules the Hierarchy pane treats as DUTs, by name — the checked-in list a team shares. Each one adds two sections ahead of "Other modules"; a DUT from this setting is shown locked and can only be removed here |
|
||||
| `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 |
|
||||
@@ -365,6 +374,12 @@ Every nesting color is a proper VS Code theme color:
|
||||
}
|
||||
```
|
||||
|
||||
## Release 0.48.0 highlights
|
||||
|
||||
Version 0.48.0 makes the hierarchy pane DUT-centred: star a module and
|
||||
see it with its children, its parents, and everything else in their own
|
||||
sections.
|
||||
|
||||
## Release 0.47.0 highlights
|
||||
|
||||
Version 0.47.0 adds organize imports (with organize-on-save) and extract
|
||||
|
||||
@@ -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.47.0",
|
||||
"version": "0.48.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
@@ -82,6 +82,24 @@
|
||||
"command": "lucisv.hierarchy.clearBookmark",
|
||||
"title": "Clear Hierarchy Bookmark",
|
||||
"icon": "$(clear-all)"
|
||||
},
|
||||
{
|
||||
"command": "lucisv.hierarchy.starDut",
|
||||
"title": "Star Module as DUT",
|
||||
"category": "lucisv",
|
||||
"icon": "$(star-full)"
|
||||
},
|
||||
{
|
||||
"command": "lucisv.hierarchy.unstarDut",
|
||||
"title": "Unstar DUT",
|
||||
"category": "lucisv",
|
||||
"icon": "$(star-empty)"
|
||||
},
|
||||
{
|
||||
"command": "lucisv.hierarchy.clearDuts",
|
||||
"title": "Clear DUTs",
|
||||
"category": "lucisv",
|
||||
"icon": "$(star-empty)"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -95,6 +113,21 @@
|
||||
"command": "lucisv.hierarchy.clearBookmark",
|
||||
"when": "view == lucisv.hierarchy",
|
||||
"group": "navigation@2"
|
||||
},
|
||||
{
|
||||
"command": "lucisv.hierarchy.clearDuts",
|
||||
"when": "view == lucisv.hierarchy",
|
||||
"group": "navigation@3"
|
||||
},
|
||||
{
|
||||
"command": "lucisv.hierarchy.starDut",
|
||||
"when": "view == lucisv.hierarchy",
|
||||
"group": "1_duts@1"
|
||||
},
|
||||
{
|
||||
"command": "lucisv.hierarchy.unstarDut",
|
||||
"when": "view == lucisv.hierarchy",
|
||||
"group": "1_duts@2"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -242,6 +275,15 @@
|
||||
"default": true,
|
||||
"markdownDescription": "Colour each nesting level of `begin`/`end` and `fork`/`join` a different colour, and a keyword whose counterpart is missing in an error colour. Every colour is a `lucisv.rainbow*` theme colour you can override in `workbench.colorCustomizations`. Takes effect immediately."
|
||||
},
|
||||
"lucisv.hierarchy.duts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [],
|
||||
"scope": "window",
|
||||
"markdownDescription": "Modules the Hierarchy pane treats as DUTs, by name. Each one splits the pane into two more sections — the DUT with its children, and an upward tree of everything that instantiates it — ahead of the \"Other modules\" section. This is the checked-in list a team shares (`.vscode/settings.json`); starring from the pane's own menu is the per-workspace way and the two are shown together. A DUT that comes from this setting is shown locked and cannot be unstarred from the pane."
|
||||
},
|
||||
"lucisv.inlineTemplates": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
|
||||
Reference in new issue
Block a user