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
Seems like the response to textDocument/documentSymbol is always hierarchical and that Omnisharp is not taking into account textDocument.documentSymbol.hierarchicalDocumentSymbolSupport client capability.
Here are the messages exchanged between my client and this server:
As you can see, the client sent "documentSymbol":{"hierarchicalDocumentSymbolSupport":false... in the initialize request.
However, omnisharp has still responded with a hierarchical document symbol:
Seems like the response to
textDocument/documentSymbol
is always hierarchical and that Omnisharp is not taking into accounttextDocument.documentSymbol.hierarchicalDocumentSymbolSupport
client capability.Here are the messages exchanged between my client and this server:
https://gist.github.com/bstaletic/e47462e95dcc4294048cd3ecefd3c9b6
And here's the same thing, but without
O#
,publishDiagnostics
andlogMessage
:As you can see, the client sent
"documentSymbol":{"hierarchicalDocumentSymbolSupport":false...
in the initialize request.However, omnisharp has still responded with a hierarchical document symbol:
Here's the link to the specification: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_documentSymbol
It says that
DocumentSymbol[]
is hierarchical, unlikeSymbolInfo[]
.As for the capability:
The text was updated successfully, but these errors were encountered: