-
Notifications
You must be signed in to change notification settings - Fork 417
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
Signature Help Documentation is the xml and not human-readable #2372
Comments
We don't use the |
@AnonymusRaccoon Which OmniSharp host is being used in this scenario? The LSP or STDIO/HTTP? If it is the LSP, then the fix would go in the Handler for the signatureinfo requests. omnisharp-roslyn/src/OmniSharp.LanguageServerProtocol/Handlers/OmniSharpSignatureHelpHandler.cs Line 52 in 0208ea2
|
I use the lsp mode, but I think it would be better to return a human readable documentation on this field on every mode, since others fields are made for humans to read. |
@AnonymusRaccoon The OmniSharp protocol service doesn't have to return the same values as the LSP. I am not aware of all the tooling that builds on top of O#, but certainly there could be tooling that depends on the current behavior. I do agree the LSP should be updated to set Documentation to be the StructureDocumentation Summary string. |
Okay, I will update the PR accordingly. |
The signature help uses the xml data and not the summary tag for the documentation of the signature. The specification wants plain text or markdown instead.
Plain text is already used for parameters documentation, it should be the same everywhere. This issue was already raised during the implementation of Structured here, but it was not modified (I don't know why).
I confirmed that VS Code is not using the documentation field so changing it would not break their implementation, but I don't know about other editors, so should I PR or not?
For now on editors that don't do a custom thing for Roslyn, this is shown instead:
The text was updated successfully, but these errors were encountered: