microsoft / microsoft/TypeScript

New inlay hint implementation after v5.3 can appear too long

Open
#56,541 0 comments 7 reactions 0 assignees View on GitHub

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

image

After typescript 5.3, inlay hint does not cut off after 30 characters and can be absurdly long.

πŸ™‚ Expected behavior

image

When tested on typescript 5.2, it works fine.

Additional information about the issue

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up β€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.