Macro expansion M14: hover shows the one-step expansion; v0.5.0
Hovering `NAME(args) now appends an expands-to section: the definition the card already chose (single_step is blind to lookup, so they cannot disagree) with parameters substituted by the call's arguments - one step, so nested macro names stay as written. Strings, `" markers and escaped identifiers are never substituted into; count mismatches, unnarrowed multiple candidates and paren-less function-like uses get no section rather than a guess; an empty argument takes the parameter's declared default. 2000-char cap with a note. Version 0.5.0 closes the M7-M14 navigation run with a CHANGELOG entry covering all eight. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
36ddabac6c
commit
d26f08335b
17 files changed
+1264
-35
No files matched your search
@@ -174,7 +174,7 @@ built but nothing consumes yet. Ordered by value ÷ cost:
|
||||
- [x] **CLI `-f` filelist flag** — the vfmt.toml `filelist` key and the
|
||||
server consume M1's parser; `vfmt -f files.f` (format/lint exactly the
|
||||
project's files) still does not exist.
|
||||
- [ ] **Single-step macro expansion on hover** — the define-table README
|
||||
- [x] **Single-step macro expansion on hover** — the define-table README
|
||||
promised it "later"; hover shows the body but expands nothing.
|
||||
|
||||
Already tracked elsewhere, deliberately not duplicated here: the
|
||||
@@ -268,6 +268,7 @@ commit — in order:
|
||||
- [x] M11 hierarchy — done, QA doc-fixes in-round, reviewed
|
||||
- [x] M12 semantic-lints — done, one QA medium reworked, reviewed
|
||||
- [x] M13 cli-filelist — done, QA clean first pass, reviewed
|
||||
- [x] M14 macro-expansion — done, QA clean first pass, reviewed; 0.5.0
|
||||
|
||||
## Work log
|
||||
|
||||
|
||||
Reference in new issue
Block a user