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
It appears that cattrs tries to interpret the data as a SymbolInformation which, unlike WorkspaceSymbol, requires both uri and range to be present in the location.
The text was updated successfully, but these errors were encountered:
The workspace/symbol request can include
WorkspaceSymbol
instances where thelocation
field only contains auri
but not arange
. The spec models this incompleteLocation
as a distinct type: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspaceSymbol. However, when attempting to structure such a response, an exception is raised:It appears that cattrs tries to interpret the data as a
SymbolInformation
which, unlikeWorkspaceSymbol
, requires bothuri
andrange
to be present in thelocation
.The text was updated successfully, but these errors were encountered: