-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Client should report current value of activeSignature to signatureHelpProvider #33413
Comments
I also really like to see this feature: This is especially true for the language I am working on (some internal markup language), where only the final number of parameters allows deduction of the used overload. For all scenarios that I could think about, to be satisfy-able, the SignatureHelpProvider needs to know, if the user manually selected an overload and the number of this overload |
This could be made part of the new |
Yeah, we can think of that. What exactly do you need @KamasamaK? |
@jrieken I would like the |
One complication is the case where there are multiple active signature help providers. In this case, the We could pass back the entire |
For #33413 Adds the active `SignatureHelp` object (along with the active signature) to the `SignatureHelpContext`. Todo: - [ ] Tests are failing. Not part of this change directly but a logic error that this change revealed - How can we ensure that custom `SignatureHelp` objects are not lost when returned in the `SignatureHelpContext`
For #33413 Adds the active `SignatureHelp` object (along with the active signature) to the `SignatureHelpContext`. Todo: - [ ] Tests are failing. Not part of this change directly but a logic error that this change revealed - How can we ensure that custom `SignatureHelp` objects are not lost when returned in the `SignatureHelpContext`
Not sure I understand that. Don't we always take the first provider that has a result? |
For microsoft#33413 Adds the active `SignatureHelp` object (along with the active signature) to the `SignatureHelpContext`. Todo: - [ ] Tests are failing. Not part of this change directly but a logic error that this change revealed - How can we ensure that custom `SignatureHelp` objects are not lost when returned in the `SignatureHelpContext`
For #33413 Adds the active `SignatureHelp` object (along with the active signature) to the `SignatureHelpContext`.
Fixed by #65440 which introduces a new Please share any feedback or concerns about the current api proposal |
Steps to Reproduce:
Reproduces without extensions: N/A
With the current value of
activeSignature
in the request, thesignatureHelpProvider
could more intelligently decide what theactiveSignature
value should be in its response. This is especially the case when both arguments are not reasonably distinct enough for the provider to otherwise determine the active signature and must make it arbitrary.Ref: #16256
The text was updated successfully, but these errors were encountered: