Exemplo n.º 1
0
        void InitializeClient()
        {
            JObject WorkspaceConfiguration = null;

            if (options_.WorkspaceConfig != "")
            {
                WorkspaceConfiguration = (JObject)JsonConvert.DeserializeObject(options_.WorkspaceConfig);
            }
            client_ = new LSP.Implementation.LanguageClient();
            client_.Start(
                new LSP.Implementation.LanguageClient.LspParameter
            {
                logger       = lspLogger_,
                exeFileName  = options_.ExcutablePath,
                exeArguments = options_.Arguments,
                jsonWorkspaceConfiguration = WorkspaceConfiguration,
            }
                );
        }