You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
We have a custom option to set the preferred documentation kind in initializationOptions, but the LS spec provides a way to do this in TextDocumentClientCapabilities:
completionItem?: {// .../** * Client supports the follow content formats for the documentation * property. The order describes the preferred format of the client. */documentationFormat?: MarkupKind[];// ...}
Additionally, MarkupKind is duplicated, and the logic for choosing which to use seems to be reimplemented in a few different places that produce MarkupContent.
The text was updated successfully, but these errors were encountered:
Yup, I wasn't sure how this would fit with VS, considering that it doesn't actually communicate over RPC. We seem to do a lot of stuff with settings in the language server init/settings change RPC handlers that I wish were placed elsewhere to be more consistent/testable (not to mention the duplication of many structs between the analyzer and LS).
We have a custom option to set the preferred documentation kind in
initializationOptions
, but the LS spec provides a way to do this in TextDocumentClientCapabilities:Additionally,
MarkupKind
is duplicated, and the logic for choosing which to use seems to be reimplemented in a few different places that produceMarkupContent
.The text was updated successfully, but these errors were encountered: