[gnome-builder] Revert "GVls: initial work for Vala Server configuration response"



commit 4742a8b2949088c42fa4ffcb61f7b650fcd37f2b
Author: Christian Hergert <chergert redhat com>
Date:   Sat Dec 14 12:41:42 2019 -0800

    Revert "GVls: initial work for Vala Server configuration response"
    
    This reverts commit 42fb5669931dafdeaa0d3d7e068d7a4927264bcc.

 src/plugins/gvls/gvls_plugin.py | 31 -------------------------------
 1 file changed, 31 deletions(-)
---
diff --git a/src/plugins/gvls/gvls_plugin.py b/src/plugins/gvls/gvls_plugin.py
index 9ba613df0..8cc06fb63 100644
--- a/src/plugins/gvls/gvls_plugin.py
+++ b/src/plugins/gvls/gvls_plugin.py
@@ -116,37 +116,6 @@ class GVlsService(Ide.Object):
             self._supervisor.set_launcher(launcher)
             self._supervisor.start()
 
-            ## Construct GVls Configuration response at `initialize`
-            self._client.connect('load-configuration', _on_load_configuration)
-
-    def _on_load_configuration(self):
-        conf = GLib.VariantBuilder (GLib.Variant ('a{sv}'))
-        conf.add ('{sv}', 'initialized', GLib.Variant.boolean (True))
-        conf.add ('{sv}', 'initialized', GLib.Variant.boolean (True))
-        conf.add ('{sv}', 'defaultNamespaces', GLib.Variant.boolean (True))
-        conf.add ('{sv}', 'defaultVapiDirs', GLib.Variant.boolean (True))
-        conf.add ('{sv}', 'scanWorkspace', GLib.Variant.boolean (True))
-        conf.add ('{sv}', 'addUsingNamespaces', GLib.Variant.boolean (True))
-
-        pkgs = GLib.VariantBuilder (GLib.Variant ('av'))
-        # Get from build environment
-        # pkgs.add ('v', GLib.Variant.string ())
-
-        vargs = GLib.VariantBuilder (GLib.Variant ('av'))
-        # Get from build environment
-        # vargs.add ('v', GLib.Variant.string ())
-
-        opts = GLib.VariantBuilder (GLib.Variant ('av'))
-        # Get from build environment
-        # vargs.add ('v', GLib.Variant.string ())
-
-        conf.add ('{sv}', 'packages', pkgs)
-        conf.add ('{sv}', 'valaArgs', vargs)
-        conf.add ('{sv}', 'options', opts)
-
-        conf.end ()
-        return conf
-
     def _gvls_spawned(self, supervisor, subprocess):
         """
         This callback is executed when the `org.gnome.gvls.stdio.Server` process is spawned.


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