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

Use WRAP_LIMIT to limit the width of tooltip signatures #542

Open
wants to merge 2 commits into
base: net233
Choose a base branch
from

Conversation

dawedawe
Copy link
Contributor

@dawedawe dawedawe commented Jul 5, 2023

This makes use of dotnet/fsharp#14891 to squash tooltip signatures if they are longer than WRAP_LIMIT
Of course, it's a bit of a question of personal taste, but we could even use a smaller width like WRAP_LIMIT/4 to be even more readable

Current:
orig

This PR with WRAP_LIMIT=120
wrap120

This PR with WRAP_LIMIT / 4
wrap120_div_by_4

@dawedawe
Copy link
Contributor Author

And here's the division by 3.
image

@auduchinok auduchinok changed the base branch from net232 to net233 July 17, 2023 08:54
@auduchinok
Copy link
Collaborator

@dawedawe Could you please rebase to net233?

@dawedawe dawedawe force-pushed the use_gettooltip_width branch from 4b96c79 to d731d00 Compare July 17, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants