Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(LSP): do nothing for set trace (#9636)
rebelicee6d4d169ca9d
diff --git a/backend/api/lsp/handler.go b/backend/api/lsp/handler.goindex 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 *jsonrpc2case LSPMethodCancelRequest:// Do nothing for now.return nil, nil+ case LSPMethodSetTrace:+ // Do nothing for now.+ return nil, nilcase LSPMethodExecuteCommand:if req.Params == nil {return nil, &jsonrpc2.Error{Code: jsonrpc2.CodeInvalidParams}