示例#1
0
        async Task MainAsync(string[] args)
        {
            var stdin  = Console.OpenStandardInput();
            var stdout = Console.OpenStandardOutput();

            this.languageServer = new LSPServer(stdout, stdin);
            this.languageServer.Disconnected    += OnDisconnected;
            this.languageServer.PropertyChanged += OnLanguageServerPropertyChanged;
            Tags.Add(new DiagnosticTag());
            this.LogMessage   = string.Empty;
            this.ResponseText = string.Empty;
            await Task.Delay(-1);
        }
示例#2
0
 public LanguageServerTarget(LSPServer server)
 {
     this.server     = server;
     this._workspace = Workspaces.Workspace.Instance;
 }