未验证 提交 440c6400 编写于 作者: D David 提交者: GitHub

Merge pull request #43886 from dibarbet/cleanup_logs

Tell lsp client not to send us open/close notifications
......@@ -53,7 +53,11 @@ public Task<LSP.InitializeResult> HandleRequestAsync(Solution solution, LSP.Init
DocumentOnTypeFormattingProvider = new LSP.DocumentOnTypeFormattingOptions { FirstTriggerCharacter = "}", MoreTriggerCharacter = new[] { ";", "\n" } },
DocumentHighlightProvider = true,
ReferencesProvider = true,
ProjectContextProvider = true
ProjectContextProvider = true,
TextDocumentSync = new LSP.TextDocumentSyncOptions
{
Change = LSP.TextDocumentSyncKind.None
}
}
});
}
......
......@@ -55,6 +55,10 @@ public Task<InitializeResult> InitializeAsync(JToken _1, CancellationToken _2)
{
DisableGoToWorkspaceSymbols = true,
WorkspaceSymbolProvider = true,
TextDocumentSync = new TextDocumentSyncOptions
{
Change = TextDocumentSyncKind.None
}
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册