提交 aa386074 编写于 作者: M Martin Aeschlimann

incremental text documents cause perf isssues

上级 1042d28f
......@@ -33,7 +33,7 @@ process.on('unhandledRejection', (e: any) => {
});
// Create a text document manager.
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
const documents: TextDocuments = new TextDocuments();
// Make the text document manager listen on the connection
// for open, change and close text document events
documents.listen(connection);
......
......@@ -39,7 +39,7 @@ process.on('uncaughtException', (e: any) => {
});
// Create a text document manager.
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
const documents: TextDocuments = new TextDocuments();
// Make the text document manager listen on the connection
// for open, change and close text document events
documents.listen(connection);
......
......@@ -106,7 +106,7 @@ let languageService = getLanguageService({
});
// Create a text document manager.
const documents: TextDocuments = new TextDocuments(TextDocumentSyncKind.Incremental);
const documents: TextDocuments = new TextDocuments();
// Make the text document manager listen on the connection
// for open, change and close text document events
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册