[gnome-builder] lsp: add warning when signal handler does not provide config



commit a99a71efb5339750e868b0df4896f6782dc4b56b
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 3 15:47:33 2020 -0800

    lsp: add warning when signal handler does not provide config
    
    Related !237

 src/libide/lsp/ide-lsp-client.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/lsp/ide-lsp-client.c b/src/libide/lsp/ide-lsp-client.c
index 8e53333be..deaec5f32 100644
--- a/src/libide/lsp/ide-lsp-client.c
+++ b/src/libide/lsp/ide-lsp-client.c
@@ -899,6 +899,8 @@ ide_lsp_client_handle_call (IdeLspClient  *self,
           jsonrpc_client_reply_async (client, id, config, NULL, NULL, NULL);
           IDE_RETURN (TRUE);
         }
+
+      g_debug ("No configuration provided, ignoring \"workspace/configuration\" request");
     }
   else if (strcmp (method, "workspace/applyEdit") == 0)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]