Inlay hints M8: port and parameter names on ordered lists

textDocument/inlayHint draws ghost portname:/PARAM: labels on positional
connection lists and all-positional #(...) overrides, from the same plan
extraction M4 uses — walked off the parse tree, so nested-call commas
cannot shift positions. Range filtering runs before any definition is
parsed; plans are cached per request (O(distinct modules)); every
uncertainty is silent, including QA's find: an ifdef-carrying port list
unions its arms in the plan, which is right for an editable skeleton and
wrong for a read-only label, so such plans now hint nothing.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-08-24 23:24:01 -07:00
1 parent 3c55783e09
commit fa38fd9dec
8 files changed
+1425 -15

No files matched your search

+2 -1
View File
@@ -151,7 +151,7 @@ built but nothing consumes yet. Ordered by value ÷ cost:
same data on a standard capability. Cheapest win on this list.
- [x] **Document highlight** — cursor on a symbol highlights its other
occurrences; one `references_of` call, no new analysis.
- [ ] **Inlay hints for ordered connections** — `u (clk, rst_n, data)`
- [x] **Inlay hints for ordered connections** — `u (clk, rst_n, data)`
shows `.clk:`/`.rst_n:` ghost labels from the instantiated module's
definition (same index facts as M4); parameter names on ordered
`#(...)` overrides too. High everyday value in RTL review.
@@ -262,6 +262,7 @@ commit — in order:
- [x] M6 completion-templates — done, QA clean first pass, reviewed
- [x] Backlog triage after M6 — LSP-parity gap list added, 2026-08-24
- [x] M7 references-nav — done, QA clean first pass, reviewed
- [x] M8 inlay-hints — done, one QA HIGH fixed in-round, reviewed
## Work log