-
Notifications
You must be signed in to change notification settings - Fork 151
Improving the readability of signature_help for long signatures #1580
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
base: master
Are you sure you want to change the base?
Conversation
56f1940 to
326091b
Compare
|
@voodoos, let's open the discussion on whether the format is added at the right moment. |
c886ecd to
1ec1dc2
Compare
|
@voodoos, what were your ideas for managing the shift in the offsets ? |
|
I think we should first try the naive option: roughly parse the resulting string, accumulating the offsets of the parameters we found ? They should be separated by |
1ec1dc2 to
4c7592d
Compare
|
Why should we ignore labels ? |
Looking at the current behavior: you are right, we don't :-) |
4c7592d to
6262de2
Compare
2aeaece to
fce35f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, the parsing function could probably be made a bit more efficient but it doesn't feel necessary right now.
fce35f2 to
153a23c
Compare
This PR aims to improve the readability of the signature of signature_help.
It applies now
ocamlformatto the signature.