Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(LSP): do nothing for set trace (#9636)

rebelicee6d4d169ca9d
diff --git a/backend/api/lsp/handler.go b/backend/api/lsp/handler.go
index 2e6df0185b..a8fb8a9892 100644
--- a/backend/api/lsp/handler.go
+++ b/backend/api/lsp/handler.go
@@ -25,6 +25,7 @@ const (
LSPMethodShutdown Method = "shutdown"
LSPMethodExit Method = "exit"
LSPMethodCancelRequest Method = "$/cancelRequest"
+ LSPMethodSetTrace Method = "$/setTrace"
LSPMethodExecuteCommand Method = "workspace/executeCommand"
LSPMethodCompletion Method = "textDocument/completion"
@@ -212,6 +213,9 @@ func (h *Handler) handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2
case LSPMethodCancelRequest:
// Do nothing for now.
return nil, nil
+ case LSPMethodSetTrace:
+ // Do nothing for now.
+ return nil, nil
case LSPMethodExecuteCommand:
if req.Params == nil {
return nil, &jsonrpc2.Error{Code: jsonrpc2.CodeInvalidParams}