Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long inlay hints aren't wrapped #129673

Closed
alexr00 opened this issue Jul 28, 2021 · 4 comments
Closed

Long inlay hints aren't wrapped #129673

alexr00 opened this issue Jul 28, 2021 · 4 comments
Assignees
Labels
*as-designed Described behavior is as designed

Comments

@alexr00
Copy link
Member

alexr00 commented Jul 28, 2021

Testing #129381

Might be by design, but I don't see long inlay hints get wrapped. Instead, they are overflowed with ellipses.

image

@hediet
Copy link
Member

hediet commented Jul 28, 2021

I think the ellipses are independent of the wrapping (I guess it is just coincidence that the ellipses are shown close to where the line would break). Can you verify that?

If you make the comment longer, it should break:

image

@alexr00
Copy link
Member Author

alexr00 commented Jul 28, 2021

Yes, ellipse are independent. The behavior I see is that first ellipse happen, and then if the inlay doesn't fit it will wrap. Seems like as designed then.

@hediet
Copy link
Member

hediet commented Jul 28, 2021

Yes. Thanks for testing!

@hediet hediet added the *as-designed Described behavior is as designed label Jul 28, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

No branches or pull requests

3 participants
@hediet @alexr00 and others