Power-Fx
Power-Fx copied to clipboard
Implement Cancellation Protocol for LSP and Fix small semantic tokens bug
This pr does two things at a high level
-
Implements a $/cancelRequest notification as described here https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#cancelRequest. Implementation is quite trivial. LSP takes in a IHostCancelationHandler and asks hosts to cancel a lsp request running inside it by using the id attached with it
-
Fixes a very small semantic tokens bug that i introduced during lsp refactoring
✅ No public API change.
✅ No public API change.
✅ No public API change.
✅ No public API change.
✅ No public API change.
✅ No public API change.