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 has been archived by the owner on Sep 24, 2021. It is now read-only.
Code lens works fine apart from opening the references:
The server composes a set of arguments of type URI, Position and Location[] for the editor.action.showReferences command (in goReferencesCodelens#resolveCodeLens). These are sent to the client, as such converted to plain JSON objects. The client, when trying to execute the command, validates the args to be instance of URI, IPosition and Array, which fails as they are plain JSON objects.
One solution could be to register a separate command in the theia-go-extension that is called instead and does the conversion.
The text was updated successfully, but these errors were encountered:
Code lens works fine apart from opening the references:
The server composes a set of arguments of type
URI
,Position
andLocation[]
for theeditor.action.showReferences
command (ingoReferencesCodelens#resolveCodeLens
). These are sent to the client, as such converted to plain JSON objects. The client, when trying to execute the command, validates the args to be instance ofURI
,IPosition
andArray
, which fails as they are plain JSON objects.One solution could be to register a separate command in the theia-go-extension that is called instead and does the conversion.
The text was updated successfully, but these errors were encountered: