[gnome-builder/1074-vala-language-server-add-support-using-gvls-2: 15/18] lsp: add warning when signal handler does not provide config



commit 856f09d7b5ba3d22fdcb703eabaf7f1fa75575f4
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]