You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Original report said TS class methods weren't addressable — wrong, see correction comment. file.ts > ClassName > methodName resolves fine. This issue is now about discoverability.)
Dogfooding v0.6.0 on a NestJS monorepo, anchoring a method took three failed guesses because nothing in the toolchain reveals the chain syntax:
at: …service.ts > EffectiveTierService.getForUsers → ````EffectiveTierService.getForUsersnot found``` — no hint that the resolver wants> ` segments. `Class.method` is the spelling every TS dev will try first.
at: …service.ts > getForUsers → same flat not found.
I only found EffectiveTierService > getForUsers by reading the Go/Python repros in closed issues #54/#28.
What
Some combination of:
Error hint: when a single-segment lookup fails and the name contains a dot — or matches method inside an exported class — suggest the chain: did you mean \EffectiveTierService > getForUsers`?`
Summary
(Original report said TS class methods weren't addressable — wrong, see correction comment.
file.ts > ClassName > methodNameresolves fine. This issue is now about discoverability.)Dogfooding v0.6.0 on a NestJS monorepo, anchoring a method took three failed guesses because nothing in the toolchain reveals the chain syntax:
at: …service.ts > EffectiveTierService.getForUsers→ ````EffectiveTierService.getForUsersnot found``` — no hint that the resolver wants> ` segments. `Class.method` is the spelling every TS dev will try first.at: …service.ts > getForUsers→ same flatnot found.surf suggeston the file says "no unanchored public symbols found" (suggest (TS): exported classes are never proposed, even though the resolver anchors them #70), so suggestions never model the chain form either.I only found
EffectiveTierService > getForUsersby reading the Go/Python repros in closed issues #54/#28.What
Some combination of:
methodinside an exported class — suggest the chain:did you mean \EffectiveTierService > getForUsers`?`Class > methodexample for TS, not just top-level functions.surf 0.6.0, macOS aarch64.