Replies: 1 comment
-
We should handle cancellation the same way as LSP does: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#errorCodes If the request was cancelled by the server, it should reply with code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If we cancel Compile/Test/Run request, the protocol requires us to note that by using the statusCode member in the Compile/Test/Run Result structure, filling the result member in the response message. However, the specification of the LSP Protocol requires us to note that by using the error member in the response message structure, and prohibits us from filling the result member in the response message.
Beta Was this translation helpful? Give feedback.
All reactions