microsoft / microsoft/TypeScript
New inlay hint implementation after v5.3 can appear too long
Open
Nobody has claimed this yet.
Needs Investigation
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.4k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
π Search Terms
inlay hint
π Version & Regression Information
- This changed in PR #55141
β― Playground Link
No response
π» Code
No response
π Actual behavior
After typescript 5.3, inlay hint does not cut off after 30 characters and can be absurdly long.
π Expected behavior
When tested on typescript 5.2, it works fine.
Additional information about the issue
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up β it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing PR #55141, which the issue identifies as the regression point, and trace the inlay hint implementation changed there. The payload names no files, tests, or entry points, so locate the relevant implementation and existing inlay-hint tests before verifying that long hints are capped at 30 characters as in TypeScript 5.2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100