3 public class LanguageClientVala : LanguageClient {
6 public LanguageClientVala(Project.Project project)
8 // extend versions will proably call initialize to start and connect to server.
11 this.initProcess("/usr/bin/vala-language-server");
15 public override void initialize_server() {
17 Variant? return_value;
18 this.jsonrpc_client.call (
21 processId: new Variant.int32 ((int32) Posix.getpid ()),
22 rootPath: new Variant.string (this.project.path),
23 rootUri: new Variant.string (File.new_for_path (this.project.path).get_uri ())
28 GLib.debug ("LS replied with %s", Json.to_string (Json.gvariant_serialize (return_value), true));
29 this.initialized = true;
30 } catch (GLib.Error e) {
31 GLib.debug ("LS replied with error %s", e.message);