v0.6.174
Changelog
0.6.172 – 0.6.174 (2026-06-08)
A focused follow-up to v0.6.171: a member-call type-inference improvement, a
long-standing syntax-highlighting fix, and an auto-import performance fix.
Improvements
- Add-JSDoc infers parameter types from member calls (0.6.172). A parameter
passed to arecv.method(arg)— whererecvis a module namespace or an object
handle — is now suggested as the method's declared parameter type. e.g.
inst.unpack(mac)/struct.unpack(fmt, mac)suggest@param {string} mac.
Suggestion-only: the param's hover staysunknown(usage never assumes a type),
loosely-typed (any) params are skipped, and an explicit@paramalways wins.
Fixes
- Bracket-colorization desync after edits (0.6.173). An opening
(/{could
render as unmatched after editing. Root cause: the quoted-string and regex-literal
TextMate rules had no end-of-line anchor, so an unterminated or mid-edit",',
or/regexspanned lines and swallowed subsequent brackets. The single-line
string/regex/char-class rules are now line-anchored (|((?<!\\)$)), while
multi-line template literals are intentionally left unanchored. (Ships with the
VS Code extension — reload the window after updating.)
Performance
- Auto-import completion latency flattened (0.6.174). Completion no longer
re-reads every workspace.ucfile per keystroke; a cached export index
(invalidated on file create/change/delete + close) cuts the auto-import overhead
from ~5.8ms to ~0.8ms at 240 files (~7×) and keeps it roughly flat as the
workspace grows. Newly-added exports still appear with no stale window.
Test suite: 186 curated suites + 952 native tests passing.