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:
lucioandClaude Fable 5 committed 2026-08-25 03:14:49 -07:00
1 parent 36ddabac6c
commit d26f08335b
17 files changed
+1264 -35

No files matched your search

+10 -10
View File
@@ -61,9 +61,9 @@ recreated on every run.
```
dist/
vfmt-0.4.2-aarch64-apple-darwin
vfmt-server-0.4.2-aarch64-apple-darwin
vfmt-0.4.2.vsix
vfmt-0.5.0-aarch64-apple-darwin
vfmt-server-0.5.0-aarch64-apple-darwin
vfmt-0.5.0.vsix
SHA256SUMS
```
@@ -113,11 +113,11 @@ npx @vscode/vsce package --out ../../dist/vfmt-<version>.vsix
```bash
# the CLI and the server: anywhere on PATH
install -m 755 dist/vfmt-0.4.2-aarch64-apple-darwin ~/.local/bin/vfmt
install -m 755 dist/vfmt-server-0.4.2-aarch64-apple-darwin ~/.local/bin/vfmt-server
install -m 755 dist/vfmt-0.5.0-aarch64-apple-darwin ~/.local/bin/vfmt
install -m 755 dist/vfmt-server-0.5.0-aarch64-apple-darwin ~/.local/bin/vfmt-server
# the editor extension: sideload, no marketplace involved
code --install-extension dist/vfmt-0.4.2.vsix
code --install-extension dist/vfmt-0.5.0.vsix
```
Publishing the artifacts is a matter of attaching `dist/`'s contents plus
@@ -125,8 +125,8 @@ Publishing the artifacts is a matter of attaching `dist/`'s contents plus
gate is green:
```bash
git tag -a v0.4.2 -m 'vfmt 0.4.2'
git push origin v0.4.2
git tag -a v0.5.0 -m 'vfmt 0.5.0'
git push origin v0.5.0
```
## Appendix — if the owner ever publishes to a marketplace
@@ -153,10 +153,10 @@ The commands themselves, once those exist:
# VS Code Marketplace: needs an Azure DevOps PAT for the publisher
npx @vscode/vsce publish -p "$VSCE_TOKEN"
# ... or publish an already-built package
npx @vscode/vsce publish --packagePath dist/vfmt-0.4.2.vsix -p "$VSCE_TOKEN"
npx @vscode/vsce publish --packagePath dist/vfmt-0.5.0.vsix -p "$VSCE_TOKEN"
# Open VSX (VSCodium, Gitpod, Cursor): needs an Eclipse Foundation account
npx ovsx publish dist/vfmt-0.4.2.vsix -p "$OVSX_TOKEN"
npx ovsx publish dist/vfmt-0.5.0.vsix -p "$OVSX_TOKEN"
```
Both tokens are secrets. Neither belongs in this repo, in a shell history, or